diff options
| author | Carl C. Trieloff <cctrieloff@apache.org> | 2009-07-31 13:45:59 +0000 |
|---|---|---|
| committer | Carl C. Trieloff <cctrieloff@apache.org> | 2009-07-31 13:45:59 +0000 |
| commit | 6d835bc544a2991b709998225e15897458221894 (patch) | |
| tree | 96c35a6217a49c6112ec0c8cd4c79cbf8fc9d9da /cpp/src | |
| parent | 52fcabc92143d00f5a950362f3939e75e2b847c3 (diff) | |
| download | qpid-python-6d835bc544a2991b709998225e15897458221894.tar.gz | |
Candidate fix for race condition in test
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@799609 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
| -rwxr-xr-x | cpp/src/tests/replication_test | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/tests/replication_test b/cpp/src/tests/replication_test index 3a0d94e0c4..5ae4cf7806 100755 --- a/cpp/src/tests/replication_test +++ b/cpp/src/tests/replication_test @@ -122,7 +122,8 @@ if test -d ${PYTHON_DIR} && test -f ../.libs/replicating_listener.so && test -f $PYTHON_DIR/commands/qpid-config -a "localhost:$BROKER_A" add queue queue-e --generate-queue-events 2 $PYTHON_DIR/commands/qpid-config -a "localhost:$BROKER_B" add queue queue-e - $PYTHON_DIR/commands/qpid-config -a "localhost:$BROKER_A" add queue queue-d --generate-queue-events 2 + $PYTHON_DIR/commands/qpid-config -a "localhost:$BROKER_A" add queue queue-d --generate-queue-events 1 + $PYTHON_DIR/commands/qpid-config -a "localhost:$BROKER_B" add queue queue-d i=1 while [ $i -le 10 ]; do @@ -133,6 +134,8 @@ if test -d ${PYTHON_DIR} && test -f ../.libs/replicating_listener.so && test -f ./sender --port $BROKER_A --routing-key queue-e --send-eos 1 < queue-e-input.repl ./receiver --port $BROKER_A --queue queue-e --messages 10 > /dev/null # now check offsets working + echo dummy | ./sender --port $BROKER_A --routing-key queue-d --send-eos 1 + ./receiver --port $BROKER_B --queue queue-d --messages 1 > /dev/null ../qpidd -q --port $BROKER_B unset BROKER_B |
