Hi Yes, this shifts the probabilities somewhat, but still doesn't make it work all the time. In the exact current setup plus ?create=false I got 3 times missed messages and 17 successes.
But I still have a Thread.sleep at the beginning of every test and a System.gc which should both not be necessary. And if I remove these two I get 1 missing message, one success (the first run) and 18 execptions (InvalidClientIDException, client already connected). With at least one second delay before every test I get 4 missing messages (interestingly not always the same) and 16 successes. -- View this message in context: http://activemq.2283324.n4.nabble.com/problems-getting-test-results-deterministic-tp4714185p4714216.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.