Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8088343

Intermittent unit test failure in javafx.concurrent.ServiceLifecycleTest

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8u20
    • javafx
    • Linux

      It appears that there is an intermittent failure in the javafx.concurrent.ServiceLifecycleTest cancelCalledFromOnFailed test. I hadn't seen it before today, but two different test runs (both on the same Linux system, our Hudson Linux test slave) both failed last night with this test failure:

      javafx.concurrent.ServiceLifecycleTest > cancelCalledFromOnFailed FAILED
          java.lang.AssertionError: expected:<FAILED> but was:<CANCELLED>
              at org.junit.Assert.fail(Assert.java:91)
              at org.junit.Assert.failNotEquals(Assert.java:645)
              at org.junit.Assert.assertEquals(Assert.java:126)
              at org.junit.Assert.assertEquals(Assert.java:145)
              at javafx.concurrent.ServiceLifecycleTest.cancelCalledFromOnFailed(ServiceLifecycleTest.java:1302)


      Also on windows running pre-release jfx24

      ServiceLifecycleTest > cancelCalledFromOnSucceeded() FAILED
          org.opentest4j.AssertionFailedError: expected: <SUCCEEDED> but was: <CANCELLED>
              at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
              at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
              at app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
              at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
              at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
              at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1145)
              at app//test.javafx.concurrent.ServiceLifecycleTest.cancelCalledFromOnSucceeded(ServiceLifecycleTest.java:1294)

            Unassigned Unassigned
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Imported: