diff options
| author | Alan Conway <aconway@apache.org> | 2010-08-27 14:08:20 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2010-08-27 14:08:20 +0000 |
| commit | 3e97a02eb405e704ed4345d4ad31360edc48c322 (patch) | |
| tree | 7cd133011e5ebe0050360d08854a7da0b72abb56 /qpid/cpp/src/tests/clustered_replication_test | |
| parent | 1061b10a8195d281a07112e84044fd074bac8914 (diff) | |
| download | qpid-python-3e97a02eb405e704ed4345d4ad31360edc48c322.tar.gz | |
Check exit status of qpid-route, avoid hung test if it fails.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@990157 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/clustered_replication_test')
| -rwxr-xr-x | qpid/cpp/src/tests/clustered_replication_test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/clustered_replication_test b/qpid/cpp/src/tests/clustered_replication_test index 174f93382d..d6c72d9d1b 100755 --- a/qpid/cpp/src/tests/clustered_replication_test +++ b/qpid/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 |
