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

fix tests

parent 958318e7
No related branches found
No related tags found
No related merge requests found
......@@ -28,25 +28,18 @@ ping 192.0.2.1 -n 1 -w 1000 > nul
echo hello > c:\tmp\asapo\test_in\processed\file1
echo hello > c:\tmp\asapo\test_in\processed\file2
ping 192.0.2.1 -n 1 -w 1000 > nul
ping 192.0.2.1 -n 3 -w 1000 > nul
c:\opt\consul\nomad stop receiver
c:\opt\consul\nomad run receiver_tcp.nmd
ping 192.0.2.1 -n 1 -w 1000 > nul
ping 192.0.2.1 -n 1 -w 1000 > nul
ping 192.0.2.1 -n 1 -w 1000 > nul
c:\opt\consul\nomad run receiver_tcp.nmd
echo hello > c:\tmp\asapo\test_in\processed\file3
ping 192.0.2.1 -n 1 -w 1000 > nul
ping 192.0.2.1 -n 10 -w 1000 > nul
REM consumer
"%2" %proxy_address% %receiver_folder% %beamtime_id% 2 %token% 3000 1 | findstr /c:"Processed 3 file(s)" || goto :error
goto :clean
:error
......
......@@ -3,7 +3,7 @@ del %folder%\asapo.*.log
"%1"
ping 192.0.2.1 -n 1 -w 1000 > nul
ping 192.0.2.1 -n 5 -w 1000 > nul
findstr /I /L /C:"\"json_test\":\"info\"" %folder%\asapo.*.log || goto :error
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment