summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/cluster_failover
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2012-12-19 21:24:38 +0000
committerAlan Conway <aconway@apache.org>2012-12-19 21:24:38 +0000
commitee9947727aea741b14e28006a2adfa23b6de3a48 (patch)
treeee1bf22f86481ac3a9e6aa9995173658a1f7dd35 /qpid/cpp/src/tests/cluster_failover
parentcae4ddd7bce66f83f5ebc05e47c3163ce3986ee7 (diff)
downloadqpid-python-ee9947727aea741b14e28006a2adfa23b6de3a48.tar.gz
QPID-4514: Remove obsolete cluster code: cleanup tests
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424139 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/cluster_failover')
-rwxr-xr-xqpid/cpp/src/tests/cluster_failover19
1 files changed, 0 insertions, 19 deletions
diff --git a/qpid/cpp/src/tests/cluster_failover b/qpid/cpp/src/tests/cluster_failover
deleted file mode 100755
index 43170c731a..0000000000
--- a/qpid/cpp/src/tests/cluster_failover
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-# A simple manual failover test, sends a stream of numbered messages.
-# You can kill the connected broker and verify that the clients reconnect
-# and no messages are lost.
-
-URL=$1
-test -n "$URL" || { echo Usage: $0 URL ; exit 1; }
-SEND=$(mktemp /tmp/send.XXXXXXXXXX)
-RECV=$(mktemp /tmp/recv.XXXXXXXXXX)
-echo $SEND $RECV
-
-seq 1000000 > $SEND
-
-qpid-send -a 'cluster_failover;{create:always}' -b $URL --connection-options "{reconnect:true}" --send-rate 10 --content-stdin < $SEND &
-
-while msg=$(qpid-receive -m1 -f -a 'cluster_failover;{create:always}' -b $URL --connection-options "{reconnect:true,heartbeat:1}"); do
- echo -n $msg; date
-done
-wait