Re: problems getting test results deterministic

2016-07-21 Thread jnicolay
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 necess

problems getting test results deterministic

2016-07-20 Thread jnicolay
Hi all We ran into some strange behavior in our application and I tried to reproduce it in a unit test. Our setup looks somewhat like this: +---+ ++ +---+ | embedded1 | <---> | master | <--> | embedded2 | +---+ ++ +---+