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

Intermittent unit test failure in SwingNodeJDialogTest

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: javafx
    • Labels:

      Description

      The SwingNodeJDialogTest unit test, which is associated with JDK-8185634, is failing intermittently due to a pair of bugs in the test.

      1) The testNodeRemovalBeforeShowHoldEDT method leaves a Stage showing after it finishes running. This means that subsequent tests will not be in a clean state.

      2) The testStageCloseAfterShow method currently is written to expect the dialog to not be shown. This is only working by accident, and only if the above test runs before this test (the test order is unspecified which is why the failure is intermittent). Once bug in #1 is fixed, this method should be changed to expect the dialog to be on top, since it will be the only thing showing.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                azvegint Alexander Zvegintsev (Inactive)
                Reporter:
                kcr Kevin Rushforth
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: