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

Intermittent unit test failure in TextTest.testTabSize

XMLWordPrintable

      I've noticed an intermittent failure in the new TextTest.testTabSize unit test on couple of our automated test runs. Here is the most recent one:

      test.javafx.scene.text.TextTest > testTabSize FAILED
          java.lang.AssertionError:
              at org.junit.Assert.fail(Assert.java:91)
              at org.junit.Assert.assertTrue(Assert.java:43)
              at org.junit.Assert.assertTrue(Assert.java:54)
              at test.javafx.scene.text.TextTest.testTabSize(TextTest.java:260)

      This may be due to the some expectation that the test has about the state of the FX runtime or some test not leaving the state of the FX runtime the way it found it. Since all tests of all test classes in the graphics project run in the same JVM and run in an unpredictable order, this sort of intermittent failure is possible.

            swpalmer Scott Palmer
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: