Tibor17 commented on pull request #338:
URL: https://github.com/apache/maven-surefire/pull/338#issuecomment-785408326


   @mpkorstanje 
   Thx I have fixed this in #337 but we have a problem because the new version 
evaluates another Total number of tests.
   What total should be right in this case?
   This is the outcome right now:
   ```
   [INFO] Running org.apache.maven.surefire.its.JUnit47WithCucumberIT
   [ERROR] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 
21.651 s <<< FAILURE! - in org.apache.maven.surefire.its.JUnit47WithCucumberIT
   [ERROR] 
org.apache.maven.surefire.its.JUnit47WithCucumberIT.testWithParallelClasses  
Time elapsed: 9.706 s  <<< FAILURE!
   junit.framework.AssertionFailedError: wrong number of tests expected:<9> but 
was:<2>
        at 
org.apache.maven.surefire.its.JUnit47WithCucumberIT.doTest(JUnit47WithCucumberIT.java:68)
        at 
org.apache.maven.surefire.its.JUnit47WithCucumberIT.testWithParallelClasses(JUnit47WithCucumberIT.java:59)
   
   [ERROR] 
org.apache.maven.surefire.its.JUnit47WithCucumberIT.testWithoutParallel  Time 
elapsed: 11.933 s  <<< FAILURE!
   junit.framework.AssertionFailedError: wrong number of tests expected:<8> but 
was:<2>
        at 
org.apache.maven.surefire.its.JUnit47WithCucumberIT.doTest(JUnit47WithCucumberIT.java:68)
        at 
org.apache.maven.surefire.its.JUnit47WithCucumberIT.testWithoutParallel(JUnit47WithCucumberIT.java:50)
   ```


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


Reply via email to