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

Intermittent unit test failures in RegionCSSTest

XMLWordPrintable

        I am seeing intermittent unit test failures in test.javafx.scene.layout.RegionCSSTest, both in our nightly job and on my local Windows machine (although this is a platform-independent issue). When it fails, 78 of the tests in RegionCSSTest fail. I will attach the complete test log. Here is a sample of two of the failures:

        test.javafx.scene.layout.RegionCSSTest > borderImageSourceIsNull FAILED
            java.lang.AssertionError:
                at org.junit.Assert.fail(Assert.java:91)
                at org.junit.Assert.assertTrue(Assert.java:43)
                at org.junit.Assert.assertNull(Assert.java:549)
                at org.junit.Assert.assertNull(Assert.java:560)
                at test.javafx.scene.layout.RegionCSSTest.borderImageSourceIsNull(RegionCSSTest.java:3082)

        test.javafx.scene.layout.RegionCSSTest > backgroundSize_auto_length FAILED
            java.lang.AssertionError: expected:<0.0> but was:<1.0>
                at org.junit.Assert.fail(Assert.java:91)
                at org.junit.Assert.failNotEquals(Assert.java:645)
                at org.junit.Assert.assertEquals(Assert.java:441)
                at org.junit.Assert.assertEquals(Assert.java:510)
                at test.javafx.scene.layout.RegionCSSTest.backgroundSize_auto_length(RegionCSSTest.java:1352)

        ...

        23001 tests completed, 78 failed, 274 skipped

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

                Created:
                Updated:
                Resolved: