changeset 59222:27be4562264b

8233638: [TESTBUG] Swing test ScreenMenuBarInputTwice.java fails on macos Reviewed-by: serb
author psadhukhan
date Mon, 04 May 2020 09:08:17 +0530
parents eec8317b33fe
children 0dcbc6ed7c65
files test/jdk/ProblemList.txt test/jdk/javax/swing/JMenuItem/8139169/ScreenMenuBarInputTwice.java
diffstat 2 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/jdk/ProblemList.txt	Mon May 04 09:00:03 2020 +0530
+++ b/test/jdk/ProblemList.txt	Mon May 04 09:08:17 2020 +0530
@@ -873,7 +873,6 @@
 javax/swing/JPopupMenu/4634626/bug4634626.java 8233556 macosx-all
 javax/swing/JPopupMenu/4458079/bug4458079.java 8233556 macosx-all
 javax/swing/JMenuItem/ActionListenerCalledTwice/ActionListenerCalledTwiceTest.java 8233637 macosx-all
-javax/swing/JMenuItem/8139169/ScreenMenuBarInputTwice.java 8233638 macosx-all
 javax/swing/JMenuItem/6249972/bug6249972.java 8233640 macosx-all
 javax/swing/JMenuItem/4171437/bug4171437.java 8233641 macosx-all
 javax/swing/JMenuBar/4750590/bug4750590.java 8233642 macosx-all
--- a/test/jdk/javax/swing/JMenuItem/8139169/ScreenMenuBarInputTwice.java	Mon May 04 09:00:03 2020 +0530
+++ b/test/jdk/javax/swing/JMenuItem/8139169/ScreenMenuBarInputTwice.java	Mon May 04 09:08:17 2020 +0530
@@ -71,10 +71,20 @@
         robot.setAutoDelay(200);
         robot.setAutoWaitForIdle(true);
         createUIWithSeperateMenuBar();
+        robot.waitForIdle();
+        robot.delay(500);
         shortcutTestCase();
+        robot.waitForIdle();
+        robot.delay(250);
         cleanUp();
+        robot.waitForIdle();
+        robot.delay(250);
         createUIWithIntegratedMenuBar();
+        robot.waitForIdle();
+        robot.delay(500);
         menuTestCase();
+        robot.waitForIdle();
+        robot.delay(250);
         cleanUp();
     }