<AWT Dev> <AWT dev> Review request for JDK-8213522: [TEST_BUG] 16 java/awt/Focus test cases fails on Mac OS when run in group but passes individually
manajit.halder at oracle.com
Thu Nov 8 11:37:23 UTC 2018
Please review the test fix for JDK12.
16 java/awt/Focus fail when 2 event test cases (java/awt/event/KeyEvent/KeyChar/KeyCharTest.java and java/awt/event/KeyEvent/SwallowKeyEvents/SwallowKeyEvents.java) are run before Focus test cases are run. In group run java/awt/event test cases are executed before java/awt/Focus test cases and hence theses test cases always fail in group run.
The 2 event test cases passes but looks like robot key operations doesn’t wait until all the events currently on the event queue are processed. Added autoWaitForIdle to fix the issue.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the awt-dev