diff --git a/tests/automatic/authorizer/check_authorize/check_windows.bat b/tests/automatic/authorizer/check_authorize/check_windows.bat index ffa16088800e8cbd0dbd2b070e4cefd559c7fca2..23f3da008f3f6d8a30f3841ff70803b355447a03 100644 --- a/tests/automatic/authorizer/check_authorize/check_windows.bat +++ b/tests/automatic/authorizer/check_authorize/check_windows.bat @@ -3,7 +3,7 @@ set short_name="%~nx1" start /B "" "%full_name%" -config settings.json -ping 1.0.0.0 -n 1 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul mkdir asap3\petra3\gpfs\p00\2019\comissioning\c20180508-000-COM20181 mkdir beamline\p07\current diff --git a/tests/automatic/broker/get_last/check_windows.bat b/tests/automatic/broker/get_last/check_windows.bat index 398040e68be4b0424ba5a5d1b6a87fc710401a2c..2b7895dd0efa01c425a7eedce5f944ef29620bc5 100644 --- a/tests/automatic/broker/get_last/check_windows.bat +++ b/tests/automatic/broker/get_last/check_windows.bat @@ -11,7 +11,7 @@ set short_name="%~nx1" set /P token=< token start /B "" "%full_name%" -config settings.json -ping 1.0.0.0 -n 1 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul C:\Curl\curl.exe -d '' --silent 127.0.0.1:5005/creategroup > groupid set /P groupid=< groupid diff --git a/tests/automatic/broker/get_meta/check_windows.bat b/tests/automatic/broker/get_meta/check_windows.bat index b6b9e1d4d27ba5ab6bb542b4839da670369c03dd..63eeaec9cc70df31ca03608dbc31c5f0f18776bc 100644 --- a/tests/automatic/broker/get_meta/check_windows.bat +++ b/tests/automatic/broker/get_meta/check_windows.bat @@ -11,7 +11,7 @@ set /P token=< token start /B "" "%full_name%" -config settings.json -ping 1.0.0.0 -n 1 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul C:\Curl\curl.exe -v --silent 127.0.0.1:5005/database/data/stream/default/0/meta/0?token=%token% --stderr - | findstr /c:\"_id\":0 || goto :error C:\Curl\curl.exe -v --silent 127.0.0.1:5005/database/data/stream/default/0/meta/1?token=%token% --stderr - | findstr /c:"no documents" || goto :error diff --git a/tests/automatic/broker/get_next/check_windows.bat b/tests/automatic/broker/get_next/check_windows.bat index 324cc61e907b3beb8cce262be05850c4b3d10921..e662d5aef93a6acea85cbd5cd2afdc9e2d242a76 100644 --- a/tests/automatic/broker/get_next/check_windows.bat +++ b/tests/automatic/broker/get_next/check_windows.bat @@ -12,7 +12,7 @@ set /P token=< token start /B "" "%full_name%" -config settings.json -ping 1.0.0.0 -n 1 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul C:\Curl\curl.exe -d '' --silent 127.0.0.1:5005/creategroup > groupid set /P groupid=< groupid diff --git a/tests/automatic/broker/read_config/check_windows.bat b/tests/automatic/broker/read_config/check_windows.bat index 7a02dd8b6d1ea93c69e725f9c109c9a48e5fb86f..ed4dfc5f8d36c7c07bca2cae0939f448fae70c9c 100644 --- a/tests/automatic/broker/read_config/check_windows.bat +++ b/tests/automatic/broker/read_config/check_windows.bat @@ -3,7 +3,7 @@ set short_name="%~nx1" start /B "" "%full_name%" -config settings_good.json -ping 1.0.0.0 -n 1 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul Taskkill /IM "%short_name%" /F %full_name% -config settings_bad.json 2>&1 | findstr /c:"not set" || goto :error diff --git a/tests/automatic/bug_fixes/error-sending-data-using-callback-method/check_windows.bat b/tests/automatic/bug_fixes/error-sending-data-using-callback-method/check_windows.bat index acaf9b1a6fb163dc7daee974c34d21cc1fa17d9f..b70d7749fa392bdb17d6ea4426e0f204540339bd 100644 --- a/tests/automatic/bug_fixes/error-sending-data-using-callback-method/check_windows.bat +++ b/tests/automatic/bug_fixes/error-sending-data-using-callback-method/check_windows.bat @@ -14,7 +14,7 @@ mkdir %receiver_folder% echo test > file1 -ping 1.0.0.0 -n 1 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul set PYTHONPATH=%2 diff --git a/tests/automatic/bug_fixes/producer_send_after_restart/check_windows.bat b/tests/automatic/bug_fixes/producer_send_after_restart/check_windows.bat index 38dfd3b2d8f3c1ec0ee30c633d01f3d3f3ff869e..69583a8d7464076e1919305d80542fb25b8dff6e 100644 --- a/tests/automatic/bug_fixes/producer_send_after_restart/check_windows.bat +++ b/tests/automatic/bug_fixes/producer_send_after_restart/check_windows.bat @@ -23,24 +23,24 @@ mkdir %receiver_folder% mkdir c:\tmp\asapo\test_in\processed start /B "" "%1" test.json -ping 1.0.0.0 -n 3 -w 100 > nul +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 1.0.0.0 -n 3 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul c:\opt\consul\nomad stop receiver c:\opt\consul\nomad run receiver_tcp.nmd -ping 1.0.0.0 -n 3 -w 100 > nul -ping 1.0.0.0 -n 3 -w 100 > nul -ping 1.0.0.0 -n 10 -w 100 > nul +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 echo hello > c:\tmp\asapo\test_in\processed\file3 -ping 1.0.0.0 -n 10 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul REM consumer diff --git a/tests/automatic/common_scripts/start_services.bat b/tests/automatic/common_scripts/start_services.bat index 680ed1a56bcd5f964cdf6ed2d0075c69b0d198be..e27bc8ccff35a4b9c29c4ea6fbd7acdeae89870a 100644 --- a/tests/automatic/common_scripts/start_services.bat +++ b/tests/automatic/common_scripts/start_services.bat @@ -6,7 +6,7 @@ c:\opt\consul\nomad run nginx.nmd c:\opt\consul\nomad run file_transfer.nmd -ping 1.0.0.0 -n 10 -w 100 > nul +ping 192.0.2.1 -n 1 -w 3000 > nul set i=0 :repeat @@ -15,7 +15,7 @@ echo %i% if %i% EQU 20 ( goto :error ) -ping 1.0.0.0 -n 3 -w 100 1>nul +ping 192.0.2.1 -n 1 -w 1000 >nul curl --silent --fail 127.0.0.1:8400/asapo-discovery/asapo-receiver --stderr - | findstr 127.0.0.1 || goto :repeat curl --silent --fail 127.0.0.1:8400/asapo-discovery/asapo-broker --stderr - | findstr 127.0.0.1 || goto :repeat curl --silent --fail 127.0.0.1:8400/asapo-discovery/asapo-file-transfer --stderr - | findstr 127.0.0.1 || goto :repeat diff --git a/tests/automatic/consumer/folder_to_db/check_windows.bat b/tests/automatic/consumer/folder_to_db/check_windows.bat index f24ad478f330b9ff18cc483ea000c16dec7f70aa..a0772c6ff09f8d976f6bf2a41619ba4697d186bd 100644 --- a/tests/automatic/consumer/folder_to_db/check_windows.bat +++ b/tests/automatic/consumer/folder_to_db/check_windows.bat @@ -3,7 +3,7 @@ SET mongo_exe="c:\Program Files\MongoDB\Server\4.2\bin\mongo.exe" mkdir test echo "" > test/file2 -ping 1.0.0.0 -n 1 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul echo "" > test/file1 %* test test_run 127.0.0.1 || goto :error diff --git a/tests/automatic/curl_http_client/curl_http_client_command/check_windows.bat b/tests/automatic/curl_http_client/curl_http_client_command/check_windows.bat index 7aab2755cce76f6668eba63700022d09ef6bb402..a9382c3c97cc68cd38b4e5aecb0ce2b641ed6531 100644 --- a/tests/automatic/curl_http_client/curl_http_client_command/check_windows.bat +++ b/tests/automatic/curl_http_client/curl_http_client_command/check_windows.bat @@ -8,7 +8,7 @@ set file_transfer_folder=%file_transfer_folder:\=\\% c:\opt\consul\nomad run authorizer.nmd c:\opt\consul\nomad run file_transfer.nmd -ping 1.0.0.0 -n 1 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul mkdir %file_transfer_folder% echo | set /p dummyName="hello" > %file_transfer_folder%\aaa diff --git a/tests/automatic/file_transfer_service/rest_api/check_windows.bat b/tests/automatic/file_transfer_service/rest_api/check_windows.bat index a193eaefc45e3e90dd296b4e8d248ff40fec2e5e..9814125d2df3f0805ebb51a6a14fe992bb0100c4 100644 --- a/tests/automatic/file_transfer_service/rest_api/check_windows.bat +++ b/tests/automatic/file_transfer_service/rest_api/check_windows.bat @@ -7,7 +7,7 @@ set file_transfer_folder=%file_transfer_folder:\=\\% c:\opt\consul\nomad run authorizer.nmd c:\opt\consul\nomad run file_transfer.nmd -ping 1.0.0.0 -n 1 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul set token=bnCXpOdBV90wU1zybEw1duQNSORuwaKz6oDHqmL35p0= diff --git a/tests/automatic/full_chain/simple_chain/check_windows.bat b/tests/automatic/full_chain/simple_chain/check_windows.bat index 7b2024362594b5997cfc2dbb034d402df511677e..8ef712f1406b3e2d033ff796f04c55bf8095878b 100644 --- a/tests/automatic/full_chain/simple_chain/check_windows.bat +++ b/tests/automatic/full_chain/simple_chain/check_windows.bat @@ -18,7 +18,7 @@ call start_services.bat REM producer mkdir %receiver_folder% start /B "" "%1" %proxy_address% %beamtime_id% 100 1000 4 0 100 -ping 1.0.0.0 -n 1 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul REM consumer "%2" %proxy_address% %receiver_folder% %beamtime_id% 2 %token% 5000 1 > out.txt diff --git a/tests/automatic/full_chain/simple_chain_dataset/check_windows.bat b/tests/automatic/full_chain/simple_chain_dataset/check_windows.bat index e1273b93924409a1e8e41093276405b4e3927861..030c045ebd7ec2db441dade5d4ee3943453f1c36 100644 --- a/tests/automatic/full_chain/simple_chain_dataset/check_windows.bat +++ b/tests/automatic/full_chain/simple_chain_dataset/check_windows.bat @@ -17,7 +17,7 @@ call start_services.bat REM producer mkdir %receiver_folder% start /B "" "%1" %proxy_address% %beamtime_id% 100 100 4 0 100 5 -ping 1.0.0.0 -n 1 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul REM consumer "%2" %proxy_address% %receiver_folder% %beamtime_id% 2 %token% 5000 1 1 > out.txt diff --git a/tests/automatic/full_chain/simple_chain_filegen/check_windows.bat b/tests/automatic/full_chain/simple_chain_filegen/check_windows.bat index c4dd96c9c375d5d8032dff97a32ba3a76c3c96bb..1eeb2fe43079f45af4c2f645ee6da82f54805040 100644 --- a/tests/automatic/full_chain/simple_chain_filegen/check_windows.bat +++ b/tests/automatic/full_chain/simple_chain_filegen/check_windows.bat @@ -23,7 +23,7 @@ mkdir %receiver_folder% mkdir c:\tmp\asapo\test_in\processed start /B "" "%1" test.json -ping 1.0.0.0 -n 3 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul mkdir c:\tmp\asapo\test_in\processed\test1 mkdir c:\tmp\asapo\test_in\processed\test2 @@ -33,7 +33,7 @@ echo hello > c:\tmp\asapo\test_in\processed\test1\file1 echo hello > c:\tmp\asapo\test_in\processed\test1\file2 echo hello > c:\tmp\asapo\test_in\processed\test2\file2 -ping 1.0.0.0 -n 10 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul REM consumer diff --git a/tests/automatic/full_chain/simple_chain_filegen_batches/check_windows.bat b/tests/automatic/full_chain/simple_chain_filegen_batches/check_windows.bat index 4ed07ca89add90ce6d244a04f6d0eca5af8f30c4..a8842020e2c58d1a4e5e578d17606fd162090f02 100644 --- a/tests/automatic/full_chain/simple_chain_filegen_batches/check_windows.bat +++ b/tests/automatic/full_chain/simple_chain_filegen_batches/check_windows.bat @@ -23,7 +23,7 @@ mkdir %receiver_folder% mkdir c:\tmp\asapo\test_in\processed start /B "" "%1" test.json -ping 1.0.0.0 -n 3 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul mkdir c:\tmp\asapo\test_in\processed\test1 mkdir c:\tmp\asapo\test_in\processed\test2 @@ -31,7 +31,7 @@ echo hello > c:\tmp\asapo\test_in\processed\test1\file1 echo hello > c:\tmp\asapo\test_in\processed\test1\file2 echo hello > c:\tmp\asapo\test_in\processed\test2\file2 -ping 1.0.0.0 -n 10 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul REM consumer diff --git a/tests/automatic/full_chain/simple_chain_filegen_multisource/check_windows.bat b/tests/automatic/full_chain/simple_chain_filegen_multisource/check_windows.bat index 647ebecde4e377682f22f3437b2342abf0157c6e..8ae26ac1400799601c979724ba5697128bb9f5f0 100644 --- a/tests/automatic/full_chain/simple_chain_filegen_multisource/check_windows.bat +++ b/tests/automatic/full_chain/simple_chain_filegen_multisource/check_windows.bat @@ -29,7 +29,7 @@ REM producer2 start /B "" "%1" test2.json -ping 1.0.0.0 -n 3 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul mkdir c:\tmp\asapo\test_in1\processed\test1 mkdir c:\tmp\asapo\test_in2\processed\test2 @@ -38,7 +38,7 @@ echo hello > c:\tmp\asapo\test_in1\processed\test1\file2 echo hello > c:\tmp\asapo\test_in2\processed\test2\file1 echo hello > c:\tmp\asapo\test_in2\processed\test2\file2 -ping 1.0.0.0 -n 10 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul REM consumer diff --git a/tests/automatic/full_chain/simple_chain_filegen_readdata_cache/check_windows.bat b/tests/automatic/full_chain/simple_chain_filegen_readdata_cache/check_windows.bat index 594e17b724d28689bc49c1ac898267b65a5b0ee4..32754618f82a36e2316b561bb090f15daf8825c8 100644 --- a/tests/automatic/full_chain/simple_chain_filegen_readdata_cache/check_windows.bat +++ b/tests/automatic/full_chain/simple_chain_filegen_readdata_cache/check_windows.bat @@ -23,7 +23,7 @@ mkdir %receiver_folder% mkdir c:\tmp\asapo\test_in\processed start /B "" "%1" test.json -ping 1.0.0.0 -n 3 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul mkdir c:\tmp\asapo\test_in\processed\test1 mkdir c:\tmp\asapo\test_in\processed\test2 @@ -31,7 +31,7 @@ echo hello1 > c:\tmp\asapo\test_in\processed\test1\file1 echo hello2 > c:\tmp\asapo\test_in\processed\test1\file2 echo hello3 > c:\tmp\asapo\test_in\processed\test2\file2 -ping 1.0.0.0 -n 10 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul REM consumer diff --git a/tests/automatic/full_chain/simple_chain_filegen_readdata_file/check_windows.bat b/tests/automatic/full_chain/simple_chain_filegen_readdata_file/check_windows.bat index 0c00c52570184c1b88b2fa41d1e2df57f2142269..e68b0ca6332b31a1d75a94e7cba303e94ae52b7a 100644 --- a/tests/automatic/full_chain/simple_chain_filegen_readdata_file/check_windows.bat +++ b/tests/automatic/full_chain/simple_chain_filegen_readdata_file/check_windows.bat @@ -23,7 +23,7 @@ mkdir %receiver_folder% mkdir c:\tmp\asapo\test_in\processed start /B "" "%1" test.json -ping 1.0.0.0 -n 3 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul mkdir c:\tmp\asapo\test_in\processed\test1 mkdir c:\tmp\asapo\test_in\processed\test2 @@ -32,7 +32,7 @@ echo hello2 > c:\tmp\asapo\test_in\processed\test1\file2 echo hello3 > c:\tmp\asapo\test_in\processed\test2\file2 -ping 1.0.0.0 -n 10 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul REM consumer diff --git a/tests/automatic/full_chain/simple_chain_raw/check_windows.bat b/tests/automatic/full_chain/simple_chain_raw/check_windows.bat index aaa10a220723cc8dcaba483f17922b0158fb5ad1..8f9eea4aad498cba4d88be434eb9ff3fcb37ae6c 100644 --- a/tests/automatic/full_chain/simple_chain_raw/check_windows.bat +++ b/tests/automatic/full_chain/simple_chain_raw/check_windows.bat @@ -17,7 +17,7 @@ call start_services.bat REM producer mkdir %receiver_folder% start /B "" "%1" %proxy_address% %beamtime_id% 100 10 4 100 100 -ping 1.0.0.0 -n 1 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul REM consumer "%2" %proxy_address% "_" %beamtime_id% 2 %token% 5000 1 > out.txt diff --git a/tests/automatic/full_chain/two_beamlines/check_windows.bat b/tests/automatic/full_chain/two_beamlines/check_windows.bat index b0c5259143f98ad9710033b7a6fc13d6faf70425..1a906b99e11a6421310d5f1995a9309572ccb441 100644 --- a/tests/automatic/full_chain/two_beamlines/check_windows.bat +++ b/tests/automatic/full_chain/two_beamlines/check_windows.bat @@ -30,7 +30,7 @@ mkdir %receiver_folder1% mkdir %receiver_folder2% start /B "" "%1" %proxy_address% %beamtime_id1% 100 1000 4 0 100 start /B "" "%1" %proxy_address% %beamtime_id2% 100 900 4 0 100 -ping 1.0.0.0 -n 1 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul REM consumer "%2" %proxy_address% %receiver_folder1% %beamtime_id1% 2 %token1% 12000 0 > out1.txt diff --git a/tests/automatic/full_chain/two_streams/check_windows.bat b/tests/automatic/full_chain/two_streams/check_windows.bat index 43ef2ab6c529c154d9fe755caec622be5cdf445a..c2ba213cb82ae06693ea682576a93e35a714f2bc 100644 --- a/tests/automatic/full_chain/two_streams/check_windows.bat +++ b/tests/automatic/full_chain/two_streams/check_windows.bat @@ -21,7 +21,7 @@ REM producer mkdir %receiver_folder% start /B "" "%1" %proxy_address% %beamtime_id%%%%stream1% 100 1000 4 0 100 start /B "" "%1" %proxy_address% %beamtime_id%%%%stream2% 100 900 4 0 100 -ping 1.0.0.0 -n 1 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul REM consumer "%2" %proxy_address% %receiver_folder% %beamtime_id%%%%stream1% 2 %token% 12000 0 > out1.txt diff --git a/tests/automatic/producer/aai/check_windows.bat b/tests/automatic/producer/aai/check_windows.bat index 6a38017b8ba4d9af8b51d3106cad22a8fac06a7f..586959daeb10528de169f4c708d4c3039c096180 100644 --- a/tests/automatic/producer/aai/check_windows.bat +++ b/tests/automatic/producer/aai/check_windows.bat @@ -19,7 +19,7 @@ mkdir %receiver_folder2% echo test > file1 -ping 1.0.0.0 -n 1 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul set PYTHONPATH=%2 diff --git a/tests/automatic/producer/file_monitor_producer/check_windows.bat b/tests/automatic/producer/file_monitor_producer/check_windows.bat index db53ef2d3337bf251771837a671c0f0e52ee7120..4673ce1ba479cea4c16d9b9cbcd45129d542a5d9 100644 --- a/tests/automatic/producer/file_monitor_producer/check_windows.bat +++ b/tests/automatic/producer/file_monitor_producer/check_windows.bat @@ -2,14 +2,14 @@ SET root_folder=c:\tmp\asapo set short_name="%~nx1" -ping 1.0.0.0 -n 1 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul mkdir %root_folder%\test_in\test1 mkdir %root_folder%\test_in\test2 mkdir %root_folder%\test_out start /B "" "%1" test.json > output -ping 1.0.0.0 -n 2 -w 100 > nul +ping 192.0.2.1 -n 2 -w 1000 > nul echo test1 > %root_folder%\test_in\test1\test1.dat echo test2 > %root_folder%\test_in\test2\test1.tmp @@ -17,7 +17,7 @@ echo test2 > %root_folder%\test_in\test2\test1.tmp mkdir %root_folder%\test_in\test2\subdir echo test3 > %root_folder%\test_in\test2\subdir\test3.dat -ping 1.0.0.0 -n 2 -w 100 > nul +ping 192.0.2.1 -n 2 -w 1000 > nul type %root_folder%\test_out\test1\test1.dat | findstr /c:"test1" || goto :error type %root_folder%\test_out\test2\subdir\test3.dat | findstr /c:"test3" || goto :error diff --git a/tests/automatic/producer/python_api/check_windows.bat b/tests/automatic/producer/python_api/check_windows.bat index 2cf597afe76a2d35934e81c47dc3cb08c133fbc6..631d4d443a8112774e0fefcf21bc9a30f9d3533e 100644 --- a/tests/automatic/producer/python_api/check_windows.bat +++ b/tests/automatic/producer/python_api/check_windows.bat @@ -14,7 +14,7 @@ mkdir %receiver_folder% echo test > file1 -ping 1.0.0.0 -n 1 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul set PYTHONPATH=%2 diff --git a/tests/automatic/producer_receiver/transfer_datasets/check_windows.bat b/tests/automatic/producer_receiver/transfer_datasets/check_windows.bat index 7ae8f9792ea89892dcb89ae446dcf94f71d21614..5047a8cdac45abdc460dea0e00f206f6213b63de 100644 --- a/tests/automatic/producer_receiver/transfer_datasets/check_windows.bat +++ b/tests/automatic/producer_receiver/transfer_datasets/check_windows.bat @@ -13,7 +13,7 @@ mkdir %receiver_folder% "%1" localhost:8400 %beamtime_id% 100 1 1 0 30 3 -ping 1.0.0.0 -n 1 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul FOR /F "usebackq" %%A IN ('%receiver_folder%\processed\1_1') DO set size=%%~zA if %size% NEQ 100000 goto :error diff --git a/tests/automatic/producer_receiver/transfer_single_file/check_windows.bat b/tests/automatic/producer_receiver/transfer_single_file/check_windows.bat index 96226b7b346196ae8da728587b8db1982c058454..e9e6e758612c236798527fc5e4b210def915b5fa 100644 --- a/tests/automatic/producer_receiver/transfer_single_file/check_windows.bat +++ b/tests/automatic/producer_receiver/transfer_single_file/check_windows.bat @@ -13,7 +13,7 @@ mkdir %receiver_folder% "%1" localhost:8400 %beamtime_id% 100 1 1 0 30 -ping 1.0.0.0 -n 1 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul FOR /F "usebackq" %%A IN ('%receiver_folder%\processed\1') DO set size=%%~zA if %size% NEQ 100000 goto :error diff --git a/tests/automatic/producer_receiver/transfer_single_file_bypass_buffer/check_windows.bat b/tests/automatic/producer_receiver/transfer_single_file_bypass_buffer/check_windows.bat index 309236645ef298447f405c80657e0efb53fc7586..c1d0c0e22d549aaf490acb4f59fd47832c2a3c97 100644 --- a/tests/automatic/producer_receiver/transfer_single_file_bypass_buffer/check_windows.bat +++ b/tests/automatic/producer_receiver/transfer_single_file_bypass_buffer/check_windows.bat @@ -13,7 +13,7 @@ mkdir %receiver_folder% "%1" localhost:8400 %beamtime_id% 60000 1 1 0 30 -ping 1.0.0.0 -n 1 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul FOR /F "usebackq" %%A IN ('%receiver_folder%\processed\1') DO set size=%%~zA if %size% NEQ 60000000 goto :error diff --git a/tests/automatic/spd_logger/fluentd/check_windows.bat b/tests/automatic/spd_logger/fluentd/check_windows.bat index 3053cca71eced24528919e7e0f76e5a23f371b35..6afaaf41bf3ec2a542b13dab02127951c239eaf7 100644 --- a/tests/automatic/spd_logger/fluentd/check_windows.bat +++ b/tests/automatic/spd_logger/fluentd/check_windows.bat @@ -3,7 +3,7 @@ del %folder%\asapo.*.log "%1" -ping 1.0.0.0 -n 5 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul findstr /I /L /C:"\"json_test\":\"info\"" %folder%\asapo.*.log || goto :error diff --git a/tests/automatic/system_io/read_folder_content/setup_windows.bat b/tests/automatic/system_io/read_folder_content/setup_windows.bat index 500f167456601d2d68b1ca6bb170fc8c664ea00e..e8c3223f40b750be00c36682205d4dc314e1a237 100644 --- a/tests/automatic/system_io/read_folder_content/setup_windows.bat +++ b/tests/automatic/system_io/read_folder_content/setup_windows.bat @@ -3,11 +3,11 @@ mkdir test\subtest mkdir test\subtest\subtest2 type nul > test\2 -ping 1.0.0.0 -n 1 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul type nul > test\3 -ping 1.0.0.0 -n 1 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul type nul > test\subtest\subtest2\4 -ping 1.0.0.0 -n 1 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul echo | set /p dummyName="1234" > test\1 mkdir test_noaccess1 diff --git a/tests/automatic/system_io/read_subdirectories/setup_windows.bat b/tests/automatic/system_io/read_subdirectories/setup_windows.bat index cb13eab96e311c530d48728597e8fc7461fb103b..509eb0a4607c5f5ca4e2cd2d85199356a134d70f 100644 --- a/tests/automatic/system_io/read_subdirectories/setup_windows.bat +++ b/tests/automatic/system_io/read_subdirectories/setup_windows.bat @@ -5,7 +5,7 @@ mkdir test\subtest1\subtest2 mkdir test\subtest3 mkdir test\subtest3\subtest4 -ping 1.0.0.0 -n 1 -w 100 > nul +ping 192.0.2.1 -n 1 -w 1000 > nul mkdir test_noaccess1 icacls test_noaccess1 /deny *S-1-1-0:(GA)