Author: mgoulish
Date: Wed Sep 16 17:52:39 2009
New Revision: 815912
URL: http://svn.apache.org/viewvc?rev=815912&view=rev
Log:
Path fix for recent checkin of Python changes.
Modified:
qpid/trunk/qpid/cpp/src/tests/clustered_replication_test
Modified: qpid/trunk/qpid/cpp/src/tests/clustered_replication_test
URL:
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/clustered_replication_test?rev=815912&r1=815911&r2=815912&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/clustered_replication_test (original)
+++ qpid/trunk/qpid/cpp/src/tests/clustered_replication_test Wed Sep 16
17:52:39 2009
@@ -89,8 +89,8 @@
#start first node of primary cluster and set up test queue
echo Starting primary cluster
PRIMARY1=$(with_ais_group ../qpidd $GENERAL_OPTS $PRIMARY_OPTS
--log-to-file repl.primary.1.tmp) || fail "Could not start node"
- $PYTHON_DIR/commands/qpid-config -a "localhost:$PRIMARY1" add queue
test-queue --generate-queue-events 2
- $PYTHON_DIR/commands/qpid-config -a "localhost:$PRIMARY1" add queue
control-queue --generate-queue-events 1
+ $PYTHON_DIR/qpid-config -a "localhost:$PRIMARY1" add queue test-queue
--generate-queue-events 2
+ $PYTHON_DIR/qpid-config -a "localhost:$PRIMARY1" add queue control-queue
--generate-queue-events 1
#send 10 messages, consume 5 of them
for i in `seq 1 10`; do echo Message$i; done | ./sender --port $PRIMARY1
@@ -105,10 +105,10 @@
DR1=$(with_ais_group ../qpidd $GENERAL_OPTS $DR_OPTS --log-to-file
repl.dr.1.tmp)
DR2=$(with_ais_group ../qpidd $GENERAL_OPTS $DR_OPTS --log-to-file
repl.dr.2.tmp)
- $PYTHON_DIR/commands/qpid-config -a "localhost:$DR1" add queue test-queue
- $PYTHON_DIR/commands/qpid-config -a "localhost:$DR1" add queue
control-queue
- $PYTHON_DIR/commands/qpid-config -a "localhost:$DR1" add exchange
replication REPLICATION_EXCHANGE
- $PYTHON_DIR/commands/qpid-route queue add localhost:$DR2
localhost:$PRIMARY2 REPLICATION_EXCHANGE REPLICATION_QUEUE
+ $PYTHON_DIR/qpid-config -a "localhost:$DR1" add queue test-queue
+ $PYTHON_DIR/qpid-config -a "localhost:$DR1" add queue control-queue
+ $PYTHON_DIR/qpid-config -a "localhost:$DR1" add exchange replication
REPLICATION_EXCHANGE
+ $PYTHON_DIR/qpid-route queue add localhost:$DR2 localhost:$PRIMARY2
REPLICATION_EXCHANGE REPLICATION_QUEUE
#send more messages to primary
for i in `seq 11 20`; do echo Message$i; done | ./sender --port $PRIMARY1
--send-eos 1
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]