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

do not kill broker

parent 863e83bb
No related branches found
No related tags found
No related merge requests found
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
......
......@@ -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
......
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