diff options
| author | Alan Conway <aconway@apache.org> | 2012-04-16 19:20:15 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2012-04-16 19:20:15 +0000 |
| commit | 0dde682105118b364773e2bee18021734edcf573 (patch) | |
| tree | 32400857b5df39ac77526a096b84fd1412c6ca74 /qpid/cpp/src/tests/cluster_failover | |
| parent | 6cf716b52c086e19a7439468b9de4e314625c55d (diff) | |
| download | qpid-python-0dde682105118b364773e2bee18021734edcf573.tar.gz | |
QPID-3603: Minor improvements to HA tests, documentation and examples.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1326755 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/cluster_failover')
| -rwxr-xr-x | qpid/cpp/src/tests/cluster_failover | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/qpid/cpp/src/tests/cluster_failover b/qpid/cpp/src/tests/cluster_failover index 2a68d1ec79..43170c731a 100755 --- a/qpid/cpp/src/tests/cluster_failover +++ b/qpid/cpp/src/tests/cluster_failover @@ -11,8 +11,9 @@ echo $SEND $RECV seq 1000000 > $SEND -qpid-receive -f -a 'q;{create:always}' -b $URL --connection-options "{reconnect:true}" | tee $RECV & - -qpid-send -a 'q;{create:always}' -b $URL --connection-options "{reconnect:true}" --send-rate 10 --content-stdin < $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 |
