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

Intermittent test failure in test.com.sun.webkit.network.CookieTest

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 10
    • 9
    • javafx
    • web

    Backports

      Description

        We've had several failures recently in this test:

        test.com.sun.webkit.network.CookieTest > testParseMaxAge FAILED
            java.lang.AssertionError: Unexpected expiryTime, test string: [foo=bar; Max-Age=9223370545339964], expected:<-9223372036854775802> but was:<9223372036854775807>
                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:470)
                at test.com.sun.webkit.network.CookieTest.assertAsExpected(CookieTest.java:455)
                at test.com.sun.webkit.network.CookieTest.testParseMaxAge(CookieTest.java:204)

        It seems to be timing related. It is probably a test bug, but should be evaluated.

        Attachments

          Issue Links

            Activity

              People

                rkamath Rajath Kamath
                kcr Kevin Rushforth
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: