From 9ef063667293641f9533fe89e8ef9557301a587e Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Fri, 27 Aug 2010 14:08:20 +0000 Subject: Check exit status of qpid-route, avoid hung test if it fails. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@990157 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/clustered_replication_test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src') diff --git a/cpp/src/tests/clustered_replication_test b/cpp/src/tests/clustered_replication_test index 174f93382d..d6c72d9d1b 100755 --- a/cpp/src/tests/clustered_replication_test +++ b/cpp/src/tests/clustered_replication_test @@ -84,7 +84,7 @@ if test -d $PYTHON_DIR; then $PYTHON_COMMANDS/qpid-config -a "localhost:$DR1" add queue test-queue $PYTHON_COMMANDS/qpid-config -a "localhost:$DR1" add queue control-queue $PYTHON_COMMANDS/qpid-config -a "localhost:$DR1" add exchange replication REPLICATION_EXCHANGE - $PYTHON_COMMANDS/qpid-route queue add localhost:$DR2 localhost:$PRIMARY2 REPLICATION_EXCHANGE REPLICATION_QUEUE + $PYTHON_COMMANDS/qpid-route queue add localhost:$DR2 localhost:$PRIMARY2 REPLICATION_EXCHANGE REPLICATION_QUEUE || fail "Could not add route." #send more messages to primary for i in `seq 11 20`; do echo Message$i; done | ./sender --port $PRIMARY1 --send-eos 1 -- cgit v1.2.1