Uploaded image for project: 'XNIO'
  1. XNIO
  2. XNIO-342

Race condition tests fail on JDK9 onwards

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.7.2.Final
    • 3.7.1.Final
    • nio-impl
    • None

      Those tests fail with:

      [INFO] Running org.xnio.racecondition.SetWriteReadyOnHandlingWritableChannelTestCase
      [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 s <<< FAILURE! - in org.xnio.racecondition.SetWriteReadyOnHandlingWritableChannelTestCase
      [ERROR] org.xnio.racecondition.SetWriteReadyOnHandlingWritableChannelTestCase(org.xnio.racecondition.SetWriteReadyOnHandlingWritableChannelTestCase)  Time elapsed: 0 s  <<< ERROR!
      java.lang.Exception: BMUnit test class configuration pushed without prior pop!
      	at org.jboss.byteman.contrib.bmunit.BMUnitConfigState.pushConfigurationState(BMUnitConfigState.java:657)
      	at org.jboss.byteman.contrib.bmunit.BMUnitRunner$1.evaluate(BMUnitRunner.java:73)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
      	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:383)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:344)
      	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:417)
      
      

              rhn-support-alazarot Alessandro Lazarotti
              flaviarnn Flavia Rainone
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: