diff options
| author | Ted Ross <tross@apache.org> | 2012-02-22 16:41:55 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2012-02-22 16:41:55 +0000 |
| commit | 3314a5cb4d14e94ed8fa29a1ba6348d10d27fdcf (patch) | |
| tree | 52ddc4ee1c0424de91ded89b1cc27884cfa58134 /qpid/cpp/src/tests/clustered_replication_test | |
| parent | 99104dde3f0718b4f9a3aff3427bab6a818fb41b (diff) | |
| download | qpid-python-3314a5cb4d14e94ed8fa29a1ba6348d10d27fdcf.tar.gz | |
QPID-3851 - Unified common CLI options for qpid-config and qpid-stat.
Also in this commit: qpid-config was converted to use the messaging-based qmf2
library. It no longer has a dependency on the qmf library. The CLI tests were also
ported to the faster library.
CLI test time prior to this commit: 2 minutes 12 seconds
CLI test time after this commit: 12.5 seconds
Other items in qpid-config and qpid-stat:
- The deprecated LVQ options (lqv, lqv-no-browse) were removed from qpid-config.
- A new option, --lvq-key, was added to qpid-config to support the new LVQ configuration.
The docs and tests were updated to match.
- qpid-stat was updated so that 'qpid-stat -q <queue-name>' prints full details from the
specified queue.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1292388 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 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/qpid/cpp/src/tests/clustered_replication_test b/qpid/cpp/src/tests/clustered_replication_test index 4a57502f39..8c8522c2eb 100755 --- a/qpid/cpp/src/tests/clustered_replication_test +++ b/qpid/cpp/src/tests/clustered_replication_test @@ -65,8 +65,8 @@ if test -d $PYTHON_DIR; then #start first node of primary cluster and set up test queue echo Starting primary cluster PRIMARY1=$(with_ais_group $QPIDD_EXEC $GENERAL_OPTS $PRIMARY_OPTS --log-to-file repl.primary.1.tmp) || fail "Could not start PRIMARY1" - $PYTHON_COMMANDS/qpid-config -a "localhost:$PRIMARY1" add queue test-queue --generate-queue-events 2 - $PYTHON_COMMANDS/qpid-config -a "localhost:$PRIMARY1" add queue control-queue --generate-queue-events 1 + $PYTHON_COMMANDS/qpid-config -b "localhost:$PRIMARY1" add queue test-queue --generate-queue-events 2 + $PYTHON_COMMANDS/qpid-config -b "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 @@ -81,9 +81,9 @@ if test -d $PYTHON_DIR; then DR1=$(with_ais_group $QPIDD_EXEC $GENERAL_OPTS $DR_OPTS --log-to-file repl.dr.1.tmp) || fail "Could not start DR1" DR2=$(with_ais_group $QPIDD_EXEC $GENERAL_OPTS $DR_OPTS --log-to-file repl.dr.2.tmp) || fail "Could not start DR2" - $PYTHON_COMMANDS/qpid-config -a "localhost:$DR1" add queue test-queue - $PYTHON_COMMANDS/qpid-config -a "localhost:$DR1" add queue control-queue - $PYTHON_COMMANDS/qpid-config -a "localhost:$DR1" add exchange replication REPLICATION_EXCHANGE + $PYTHON_COMMANDS/qpid-config -b "localhost:$DR1" add queue test-queue + $PYTHON_COMMANDS/qpid-config -b "localhost:$DR1" add queue control-queue + $PYTHON_COMMANDS/qpid-config -b "localhost:$DR1" add exchange replication REPLICATION_EXCHANGE $PYTHON_COMMANDS/qpid-route queue add localhost:$DR2 localhost:$PRIMARY2 REPLICATION_EXCHANGE REPLICATION_QUEUE || fail "Could not add route." #send more messages to primary |
