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

Intermittent unit test failures in javafx.stage.PopupTest with JDK7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7u6
    • 7u6
    • javafx
    • None
    • Windows 7
      JDK 7u4 32-bit
      JavaFX 2.2 b12

      I am getting intermittent test failures when running javafx.stage.PopupTest with JDK 7u4. Usually one or two tests will fail: testAutofixActivationAfterShow and sometimes testBasicAutofix. Rarely, all of the tests pass. Here is the output:

      Testsuite: javafx.stage.PopupTest
      Tests run: 24, Failures: 2, Errors: 0, Time elapsed: 0.293 sec

      Testcase: testAutofixActivationAfterShow(javafx.stage.PopupTest): FAILED
      expected:<200.0> but was:<100.0>
      junit.framework.AssertionFailedError: expected:<200.0> but was:<100.0>
          at javafx.stage.PopupTest.testAutofixActivationAfterShow(PopupTest.java:350)


      Testcase: testBasicAutofix(javafx.stage.PopupTest): FAILED
      expected:<200.0> but was:<100.0>
      junit.framework.AssertionFailedError: expected:<200.0> but was:<100.0>
          at javafx.stage.PopupTest.testBasicAutofix(PopupTest.java:311)

            lnerad Ľubomír Nerád (Inactive)
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: