test/jdk/javax/swing/JRadioButton/8033699/bug8033699.java fails in OCI system citing
Radio Button Group Go To Next Component through Tab Key failed ----------System.err:(30/2118)---------- java.lang.reflect.InvocationTargetException at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1371) at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1346) at java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1480) at bug8033699.runTest1(bug8033699.java:163) at bug8033699.main(bug8033699.java:71) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:573) at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) at java.base/java.lang.Thread.run(Thread.java:1575) Caused by: java.lang.RuntimeException: Focus is not on Radio Button Single as Expected in runTest1, the first subtest which seems to suggest test started before the frame is visible..Added a standard delay after frame visibility..Also added a token delay inbetween 8 subtests so that keypress(es) are not coming in one after other.. Test passed in CI in several OCI systems.. ------------- Commit messages: - OCItest Changes: https://git.openjdk.org/jdk/pull/22509/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22509&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8345357 Stats: 18 lines in 1 file changed: 12 ins; 3 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/22509.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/22509/head:pull/22509 PR: https://git.openjdk.org/jdk/pull/22509
