diff options
| author | Michael Goulish <mgoulish@apache.org> | 2009-09-23 09:39:12 +0000 |
|---|---|---|
| committer | Michael Goulish <mgoulish@apache.org> | 2009-09-23 09:39:12 +0000 |
| commit | 7286c00b988ef9b1bdf16a62e3527d62ca123a7a (patch) | |
| tree | a9d84c98193c9dc04668ee5a0fc8deeb98ab4c38 /cpp/src/tests/federated_cluster_test | |
| parent | faa6d36cab39fb3ee05a9dcf26a1cdb5d027ec07 (diff) | |
| download | qpid-python-7286c00b988ef9b1bdf16a62e3527d62ca123a7a.tar.gz | |
rhs's new system for python allows us to build python test
code that is appropriate for the installed python version,
and place the code at any desired location. This is a big
improvement in making the builds automatically adapt to
different OSs.
From src/tests/Makefile.am, I am calling his gadget to
create the code, and placing it all in PYTHON_DIR/temp.
Then altering the paths in a bunch of test scripts to point
to the right places.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@818020 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/federated_cluster_test')
| -rwxr-xr-x | cpp/src/tests/federated_cluster_test | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/cpp/src/tests/federated_cluster_test b/cpp/src/tests/federated_cluster_test index a781e269d6..d4b917535e 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 +PYTHON_DIR=$srcdir/../../../python/temp 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/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 + $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 #create dynamic routes for 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 + $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 #create test queue on cluster and bind it to the test exchange - $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 + $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 #create test queue on single broker and bind it to the test exchange - $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 + $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 } run_test_pull_to_cluster_two_consumers() { |
