Tibor17 commented on a change in pull request #267: [SUREFIRE-1741] JUnit5: 
Detect failed containers
URL: https://github.com/apache/maven-surefire/pull/267#discussion_r371011646
 
 

 ##########
 File path: 
surefire-providers/surefire-junit-platform/src/test/java/org/apache/maven/surefire/junitplatform/RunListenerAdapterTest.java
 ##########
 @@ -425,7 +425,7 @@ public void notifiedOfContainerFailure()
                     throws Exception
     {
         adapter.executionFinished( newContainerIdentifier(), failed( new 
RuntimeException() ) );
-        verify( listener ).testFailed( any() );
+        verify( listener ).testError( any() );
 
 Review comment:
   You are modifying the old tests?
   The reason between error and failure is that failure throws `AssertionError` 
but the error throws any other exception.

----------------------------------------------------------------
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

Reply via email to