summaryrefslogtreecommitdiff
path: root/cpp/src/tests/federated_cluster_test
diff options
context:
space:
mode:
authorMichael Goulish <mgoulish@apache.org>2009-09-18 18:06:36 +0000
committerMichael Goulish <mgoulish@apache.org>2009-09-18 18:06:36 +0000
commit1c216e7c77db74b1aa5e197e5d6b4d6f1d8c4f0e (patch)
treee7ee728e36f92f008014ba18de6b33d0013ce9f8 /cpp/src/tests/federated_cluster_test
parent34c2b770dd9a2b8d59e0c779e815704a6da0824c (diff)
downloadqpid-python-1c216e7c77db74b1aa5e197e5d6b4d6f1d8c4f0e.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/qpid@816731 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/federated_cluster_test')
-rwxr-xr-xcpp/src/tests/federated_cluster_test18
1 files changed, 9 insertions, 9 deletions
diff --git a/cpp/src/tests/federated_cluster_test b/cpp/src/tests/federated_cluster_test
index d4b917535e..a781e269d6 100755
--- a/cpp/src/tests/federated_cluster_test
+++ b/cpp/src/tests/federated_cluster_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
trap stop_brokers EXIT
@@ -63,20 +63,20 @@ start_brokers() {
setup() {
export PYTHONPATH=$PYTHON_DIR
#create exchange on both cluster and single broker
- $PYTHON_DIR/qpid-config -a "localhost:$BROKER_A" add exchange direct test-exchange
- $PYTHON_DIR/qpid-config -a "localhost:$NODE_1" add exchange direct test-exchange
+ $PYTHON_DIR/commands/qpid-config -a "localhost:$BROKER_A" add exchange direct test-exchange
+ $PYTHON_DIR/commands/qpid-config -a "localhost:$NODE_1" add exchange direct test-exchange
#create dynamic routes for test exchange
- $PYTHON_DIR/qpid-route dynamic add "localhost:$NODE_2" "localhost:$BROKER_A" test-exchange
- $PYTHON_DIR/qpid-route dynamic add "localhost:$BROKER_A" "localhost:$NODE_2" test-exchange
+ $PYTHON_DIR/commands/qpid-route dynamic add "localhost:$NODE_2" "localhost:$BROKER_A" test-exchange
+ $PYTHON_DIR/commands/qpid-route dynamic add "localhost:$BROKER_A" "localhost:$NODE_2" test-exchange
#create test queue on cluster and bind it to the test exchange
- $PYTHON_DIR/qpid-config -a "localhost:$NODE_1" add queue test-queue
- $PYTHON_DIR/qpid-config -a "localhost:$NODE_1" bind test-exchange test-queue to-cluster
+ $PYTHON_DIR/commands/qpid-config -a "localhost:$NODE_1" add queue test-queue
+ $PYTHON_DIR/commands/qpid-config -a "localhost:$NODE_1" bind test-exchange test-queue to-cluster
#create test queue on single broker and bind it to the test exchange
- $PYTHON_DIR/qpid-config -a "localhost:$BROKER_A" add queue test-queue
- $PYTHON_DIR/qpid-config -a "localhost:$BROKER_A" bind test-exchange test-queue from-cluster
+ $PYTHON_DIR/commands/qpid-config -a "localhost:$BROKER_A" add queue test-queue
+ $PYTHON_DIR/commands/qpid-config -a "localhost:$BROKER_A" bind test-exchange test-queue from-cluster
}
run_test_pull_to_cluster_two_consumers() {