Using CircularBucket for the test
Using CircularBucket for the test

CircularBucket is thread-safe and wait-free, it will not introduce pauses or affect the overall performance. In fact, it was designed with debugging threading problems in  mind. So, let us use that.

Hopefully I can analyze the resulting sequence and write a fail condition in terms of that.
theraot/Theraot