From ff9b9a615dd29115c0d87ec1489c9ce4f7858abf Mon Sep 17 00:00:00 2001 From: Jan David Mol <mol@astron.nl> Date: Tue, 2 Jun 2015 12:10:55 +0000 Subject: [PATCH] Task #7422: Fix tStatusFeedback to run without QPID --- SubSystems/Online_Cobalt/test/tStatusFeedback.run2.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/SubSystems/Online_Cobalt/test/tStatusFeedback.run2.in b/SubSystems/Online_Cobalt/test/tStatusFeedback.run2.in index bca4e8a3a97..c1a03c5f72c 100755 --- a/SubSystems/Online_Cobalt/test/tStatusFeedback.run2.in +++ b/SubSystems/Online_Cobalt/test/tStatusFeedback.run2.in @@ -2,6 +2,11 @@ . ./testFuncs.sh +if ! have_qpid; then + # No use testing QPID feedback without QPID + exit 0 +fi + function test_parset { PARSET="$1" EXPECTED_OBSRESULT="$2" @@ -22,7 +27,7 @@ function test_parset { fi # Pull the message from the status queue - @QPID_RECEIVE_EXECUTABLE@ -b 127.0.0.1 -q lofar.task.feedback.status || error 'Could not pull status message from bus' + recv_msg lofar.task.feedback.status || error 'Could not pull status message from bus' # Check the message against the expected result # <TODO> -- GitLab