Col-E commented on a change in pull request #249: Surefire-1701: Fix
@DisplayName breaking reruns
URL: https://github.com/apache/maven-surefire/pull/249#discussion_r338355808
##########
File path:
surefire-providers/surefire-junit-platform/src/test/java/org/apache/maven/surefire/junitplatform/JUnitPlatformProviderTest.java
##########
@@ -865,6 +866,7 @@ void testAlwaysSkipped()
throw new IllegalStateException( "this test should be never
called" );
}
+ @org.junit.jupiter.api.DisplayName( "Fails twice" )
Review comment:
> What if we coment the DisplayName? It will not rerun the tests as we found
it in Jira?
I'm not sure I follow. I've updated the test to print the failing test names
if that's what you're looking for.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services