RFR: 8288707: javax/swing/JToolBar/4529206/bug4529206.java: setFloating does not work correctly

Tejesh R tr at openjdk.org
Mon Jun 27 16:38:39 UTC 2022


On Fri, 24 Jun 2022 03:42:23 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> Test was failing intermittently around 1 or 2 out of 30 runs. 
> Fixed by adding stability code, wait for a sec after frame is visible, set frame to center.
> Modified test has run at least 50 times in all platforms and 100 times in linux (where it is seen intermittently) without any issue.

How does` frame.isFocused()` indicate failure test? Can the test case fail status depend on `ui.Floating() == false`..?

-------------

PR: https://git.openjdk.org/jdk/pull/9269



More information about the client-libs-dev mailing list