diff --git a/tests/automatic/broker/read_config/check_windows.bat b/tests/automatic/broker/read_config/check_windows.bat index ed4dfc5f8d36c7c07bca2cae0939f448fae70c9c..97281a411e385794cf45cedd922b25b160079324 100644 --- a/tests/automatic/broker/read_config/check_windows.bat +++ b/tests/automatic/broker/read_config/check_windows.bat @@ -1,10 +1,4 @@ set full_name="%1" -set short_name="%~nx1" - -start /B "" "%full_name%" -config settings_good.json - -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/producer/aai/check_windows.bat b/tests/automatic/producer/aai/check_windows.bat index 5a5741ddf3853f1e36675267a9bbd5e4f3ea488e..ee7e2b23055ef64869aee4f80198ca5d16434629 100644 --- a/tests/automatic/producer/aai/check_windows.bat +++ b/tests/automatic/producer/aai/check_windows.bat @@ -9,7 +9,7 @@ SET receiver_folder2="%receiver_root_folder%\test_facility\gpfs\%beamline%\2019\ SET dbname=%beamtime_id%_%data_source% SET dbname2=%beamtime_id2%_%data_source% SET token=%BLP07_W_TOKEN% -SET beamline_dir=/c:\tmp\asapo\beamline\p07\current\ +SET beamline_dir=c:\tmp\asapo\beamline\p07\current\ @@ -27,7 +27,7 @@ set PYTHONPATH=%2 mkdir %beamline_dir% copy beamtime-metadata-11111111.json %beamline_dir% /y -"%1" "%3" %beamline% %token% %data_source% "127.0.0.1:8400"%beamline_dir%beamtime-metadata-11111111.json > out +"%1" "%3" %beamline% %token% %data_source% "127.0.0.1:8400" %beamline_dir%beamtime-metadata-11111111.json > out type out set NUM=0