From f39744fa2e487d062d36b469f517cfc6898318ac Mon Sep 17 00:00:00 2001 From: Sergey Yakubov <sergey.yakubov@desy.de> Date: Mon, 21 Dec 2020 18:35:48 +0100 Subject: [PATCH] fix tests --- .../error-sending-data-using-callback-method/check_linux.sh | 2 +- tests/automatic/producer/aai/check_linux.sh | 2 +- tests/automatic/producer/python_api/check_linux.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/automatic/bug_fixes/error-sending-data-using-callback-method/check_linux.sh b/tests/automatic/bug_fixes/error-sending-data-using-callback-method/check_linux.sh index 3afd7ff4e..09e978362 100644 --- a/tests/automatic/bug_fixes/error-sending-data-using-callback-method/check_linux.sh +++ b/tests/automatic/bug_fixes/error-sending-data-using-callback-method/check_linux.sh @@ -39,6 +39,6 @@ echo test > file1 sleep 1 -$1 $3 $stream $beamtime_id "127.0.0.1:8400" > out || cat out +$1 $3 $data_source $beamtime_id "127.0.0.1:8400" > out || cat out cat out cat out | grep "hello self callback" diff --git a/tests/automatic/producer/aai/check_linux.sh b/tests/automatic/producer/aai/check_linux.sh index 472822cae..eb3b7492f 100644 --- a/tests/automatic/producer/aai/check_linux.sh +++ b/tests/automatic/producer/aai/check_linux.sh @@ -42,7 +42,7 @@ sleep 1 echo test > file1 -$1 $3 $beamline $token $stream "127.0.0.1:8400" > out || cat out +$1 $3 $beamline $token $data_source "127.0.0.1:8400" > out || cat out cat out cat out | grep "successfuly sent" | wc -l | grep 3 cat out | grep "reauthorization\|Broken" | wc -l | grep 1 diff --git a/tests/automatic/producer/python_api/check_linux.sh b/tests/automatic/producer/python_api/check_linux.sh index e73545827..71e20a339 100644 --- a/tests/automatic/producer/python_api/check_linux.sh +++ b/tests/automatic/producer/python_api/check_linux.sh @@ -39,7 +39,7 @@ echo test > file1 sleep 1 -$1 $3 $stream $beamtime_id "127.0.0.1:8400" &> out || cat out +$1 $3 $data_source $beamtime_id "127.0.0.1:8400" &> out || cat out cat out echo count successfully send, expect 13 cat out | grep "successfuly sent" | wc -l | tee /dev/stderr | grep 13 -- GitLab