diff options
| author | Michael Goulish <mgoulish@apache.org> | 2009-09-18 18:06:36 +0000 |
|---|---|---|
| committer | Michael Goulish <mgoulish@apache.org> | 2009-09-18 18:06:36 +0000 |
| commit | 5d2e5e2b890fa5c099158a63621803fd9ee08741 (patch) | |
| tree | 869d9649628f2ed96f36194a349fbaf36789b85e /qpid/cpp/src/tests/clustered_replication_test | |
| parent | 68cbf4e5bab891c66b0bff680ba80d790bccc224 (diff) | |
| download | qpid-python-5d2e5e2b890fa5c099158a63621803fd9ee08741.tar.gz | |
Rolling back my recent change 816715. These script changes don't work with the RH "Ptolemy" build system.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816731 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 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/qpid/cpp/src/tests/clustered_replication_test b/qpid/cpp/src/tests/clustered_replication_test index e3bc9cb65e..cc331957ad 100755 --- a/qpid/cpp/src/tests/clustered_replication_test +++ b/qpid/cpp/src/tests/clustered_replication_test @@ -22,7 +22,7 @@ # Test reliability of the replication feature in the face of link # failures: srcdir=`dirname $0` -PYTHON_DIR=$srcdir/../../../python/temp +PYTHON_DIR=$srcdir/../../../python export PYTHONPATH=$PYTHON_DIR trap stop_brokers INT EXIT @@ -89,8 +89,8 @@ EOF #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/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 + $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 #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 @@ EOF 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/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 + $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 #send more messages to primary for i in `seq 11 20`; do echo Message$i; done | ./sender --port $PRIMARY1 --send-eos 1 |
