Surefire: Success Percentage not handled correctly

2012-03-04 Thread Steven Blundy
I have a wait test that I expect to fail on occasion because the test threads get too out of sync. So, using TestNG, I'm setting the successPercentage and invocationCount to handle the occasional acceptable failure. If the code's broken, none of the invocations will pass. When I run the test in

Surefire + TestNG: Success Percentage not handled correctly

2012-03-02 Thread Steven Blundy
I have a wait test that I expect to fail on occasion because the test threads get too out of sync. So, using TestNG, I'm setting the successPercentage and invocationCount to handle the occasional acceptable failure. If the code's broken, none of the invocations will pass. When I run the test in