JDK-8243110 : SVGTest.testSVGRenderingWithPattern fails intermittently
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: jfx15
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-04-18
  • Updated: 2024-08-27
  • Resolved: 2020-05-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
jfx15Fixed
Related Reports
Relates :  
Relates :  
Description
The system test SVGTest.testSVGRenderingWithPattern has a race condition which causes the test to fail intermittently.

javafx.scene.web.SVGTest > testSVGRenderingWithPattern FAILED
    java.lang.AssertionError: Color should be opaque red: expected:<0xff0000ff> but was:<0xffffffff>
        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 test.javafx.scene.web.SVGTest.lambda$testSVGRenderingWithPattern$3(SVGTest.java:127)

Comments
Changeset: 9edba9cc Author: Arun Joseph <ajoseph@openjdk.org> Date: 2020-05-29 19:09:38 +0000 URL: https://git.openjdk.java.net/jfx/commit/9edba9cc
29-05-2020

I am now seeing this failure frequently. I will file a new bug to `@Ignore` the test until it can be made more robust.
18-04-2020