Running qpid-txtest2 in a loop against a 3 node cluster while killing primary brokers to force failover eventually results in the test failing due to extra or missing messages.
In separate windows:
$ while ha stat; qpid-txtest2 -b 126.96.36.199 --total-messages 100 --connection-options '
' --messages-per-tx 10 --tx-count 10; do true; done
$ while ha wait -a 2; do sleep .5; ha kill; done # ha script attached.
Eventually (up to 10 minutes) the test fails with a message like:
The following ids were missing:
The following extra ids were encountered:
Test runs forever, no failures.