eclipse-ee4j / grizzly

Grizzly
https://eclipse-ee4j.github.io/grizzly
Other
147 stars 68 forks source link

Configure surefire to rerun failing tests #2172

Closed pzygielo closed 2 years ago

pzygielo commented 2 years ago

https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#rerunFailingTestsCount

pzygielo commented 2 years ago

Maybe this could be considered to deal with flaky tests before they are fixed? https://github.com/eclipse-ee4j/grizzly/runs/6832919386?check_suite_focus=true#step:4:654

Warning:  Flakes: 
Warning:  org.glassfish.grizzly.NIOTransportTest.testAsyncReadWriteEcho[0]
Error:    Run 1: NIOTransportTest.testAsyncReadWriteEcho:372 » Bind Address already in use
[INFO]   Run 2: PASS
[INFO] 
[INFO] 
Warning:  Tests run: 365, Failures: 0, Errors: 0, Skipped: 8, Flakes: 1