summaryrefslogtreecommitdiff
path: root/cpp/src/tests/federated_topic_test
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-06-02 09:33:58 +0000
committerGordon Sim <gsim@apache.org>2008-06-02 09:33:58 +0000
commit3cadb072adbd7ea1daa38e61ad17995c4d661dfc (patch)
treee71de80ff4f8cb08a17ea7d433c7b009850b3a4f /cpp/src/tests/federated_topic_test
parent9c4205052e0310bac49708e37194a398745a824f (diff)
downloadqpid-python-3cadb072adbd7ea1daa38e61ad17995c4d661dfc.tar.gz
Minor updates to tests:
* sync on commit in transactional topic test * disable loading of modules from automated test to preserve isolation * update federated topic test script in line with command line option changes git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@662373 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/federated_topic_test')
-rwxr-xr-xcpp/src/tests/federated_topic_test18
1 files changed, 9 insertions, 9 deletions
diff --git a/cpp/src/tests/federated_topic_test b/cpp/src/tests/federated_topic_test
index 9e769b5de5..dbb4a2a133 100755
--- a/cpp/src/tests/federated_topic_test
+++ b/cpp/src/tests/federated_topic_test
@@ -27,11 +27,11 @@ PYTHON_DIR=${MY_DIR}/../../../python
trap stop_brokers EXIT
start_brokers() {
- ${MY_DIR}/../qpidd --daemon --port 0 --no-data-dir --auth no > qpidd.port
+ ${MY_DIR}/../qpidd --daemon --port 0 --no-module-dir --no-data-dir --auth no > qpidd.port
PORT_A=`cat qpidd.port`
- ${MY_DIR}/../qpidd --daemon --port 0 --no-data-dir --auth no > qpidd.port
+ ${MY_DIR}/../qpidd --daemon --port 0 --no-module-dir --no-data-dir --auth no > qpidd.port
PORT_B=`cat qpidd.port`
- ${MY_DIR}/../qpidd --daemon --port 0 --no-data-dir --auth no > qpidd.port
+ ${MY_DIR}/../qpidd --daemon --port 0 --no-module-dir --no-data-dir --auth no > qpidd.port
PORT_C=`cat qpidd.port`
}
@@ -64,16 +64,16 @@ setup_routes() {
BROKER_C="localhost:$PORT_C"
export PYTHONPATH=$PYTHON_DIR:$PYTHONPATH
echo "Establishing routes for topic..."
- $PYTHON_DIR/commands/qpid-route -s ~/qpid/trunk/qpid/specs/amqp.0-10.xml add $BROKER_B $BROKER_A amq.topic topic_control B B
- $PYTHON_DIR/commands/qpid-route -s ~/qpid/trunk/qpid/specs/amqp.0-10.xml add $BROKER_C $BROKER_B amq.topic topic_control C C
+ $PYTHON_DIR/commands/qpid-route add $BROKER_B $BROKER_A amq.topic topic_control B B
+ $PYTHON_DIR/commands/qpid-route add $BROKER_C $BROKER_B amq.topic topic_control C C
echo "linked A->B->C"
- $PYTHON_DIR/commands/qpid-route -s ~/qpid/trunk/qpid/specs/amqp.0-10.xml add $BROKER_B $BROKER_C amq.topic topic_control B B
- $PYTHON_DIR/commands/qpid-route -s ~/qpid/trunk/qpid/specs/amqp.0-10.xml add $BROKER_A $BROKER_B amq.topic topic_control A A
+ $PYTHON_DIR/commands/qpid-route add $BROKER_B $BROKER_C amq.topic topic_control B B
+ $PYTHON_DIR/commands/qpid-route add $BROKER_A $BROKER_B amq.topic topic_control A A
echo "linked C->B->A"
echo "Establishing routes for response queue..."
- $PYTHON_DIR/commands/qpid-route -s ~/qpid/trunk/qpid/specs/amqp.0-10.xml add $BROKER_B $BROKER_C amq.direct response B B
- $PYTHON_DIR/commands/qpid-route -s ~/qpid/trunk/qpid/specs/amqp.0-10.xml add $BROKER_A $BROKER_B amq.direct response A A
+ $PYTHON_DIR/commands/qpid-route add $BROKER_B $BROKER_C amq.direct response B B
+ $PYTHON_DIR/commands/qpid-route add $BROKER_A $BROKER_B amq.direct response A A
echo "linked C->B->A"
}