Skip to content
Snippets Groups Projects
Commit 9bd1e471 authored by Sergey Yakubov's avatar Sergey Yakubov
Browse files

increase timout in win tests

parent 2524e210
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,10 @@ set short_name="%~nx1"
c:\opt\consul\nomad run authorizer.nmd
c:\opt\consul\nomad run nginx.nmd
ping 192.0.2.1 -n 1 -w 2000 > nul
start /B "" "%full_name%" -config settings.json
ping 192.0.2.1 -n 1 -w 5000 > nul
......
......@@ -8,6 +8,9 @@ set short_name="%~nx1"
c:\opt\consul\nomad run authorizer.nmd
c:\opt\consul\nomad run nginx.nmd
ping 192.0.2.1 -n 1 -w 2000 > nul
start /B "" "%full_name%" -config settings.json
ping 192.0.2.1 -n 1 -w 5000 > nul
......
......@@ -11,6 +11,9 @@ set token=%BT_DATA_TOKEN%
c:\opt\consul\nomad run authorizer.nmd
c:\opt\consul\nomad run nginx.nmd
ping 192.0.2.1 -n 1 -w 2000 > nul
start /B "" "%full_name%" -config settings.json
ping 192.0.2.1 -n 1 -w 5000 > nul
......
......@@ -19,7 +19,7 @@ set /P folder_token=< token
echo hello > %file_transfer_folder%\aaa
ping 192.0.2.1 -n 1 -w 1000 > nul
C:\Curl\curl.exe -V --silent -H "Authorization: Bearer %folder_token%" --data "{\"Folder\":\"%file_transfer_folder%\",\"FileName\":\"aaa\",\"Token\":\"%folder_token%\"}" 127.0.0.1:5008/v0.1/transfer
C:\Curl\curl.exe -v --silent -H "Authorization: Bearer %folder_token%" --data "{\"Folder\":\"%file_transfer_folder%\",\"FileName\":\"aaa\",\"Token\":\"%folder_token%\"}" 127.0.0.1:5008/v0.1/transfer
C:\Curl\curl.exe --silent -H "Authorization: Bearer %folder_token%" --data "{\"Folder\":\"%file_transfer_folder%\",\"FileName\":\"aaa\",\"Token\":\"%folder_token%\"}" 127.0.0.1:5008/v0.1/transfer --stderr - | findstr hello || goto :error
goto :clean
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment