You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by cc...@apache.org on 2009/07/31 15:45:59 UTC
svn commit: r799609 - /qpid/trunk/qpid/cpp/src/tests/replication_test
Author: cctrieloff
Date: Fri Jul 31 13:45:59 2009
New Revision: 799609
URL: http://svn.apache.org/viewvc?rev=799609&view=rev
Log:
Candidate fix for race condition in test
Modified:
qpid/trunk/qpid/cpp/src/tests/replication_test
Modified: qpid/trunk/qpid/cpp/src/tests/replication_test
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/replication_test?rev=799609&r1=799608&r2=799609&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/replication_test (original)
+++ qpid/trunk/qpid/cpp/src/tests/replication_test Fri Jul 31 13:45:59 2009
@@ -122,7 +122,8 @@
$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 @@
./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
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org