test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/Common.java
changeset 55361 ed5c7d68ed5a
parent 47216 71c04702a3d5
child 55367 f85fa2fc78c2
--- a/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/Common.java	Tue Jun 04 14:23:33 2019 +0530
+++ b/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/Common.java	Tue Jun 04 14:43:57 2019 +0530
@@ -385,13 +385,13 @@
         // Drag
         Point location = window.getLocationOnScreen();
         robot.dragAndDrop(location.x + 30, location.y + 5, location.x + dl + random.nextInt(dl), location.y + random.nextInt(dl));
-        robot.waitForIdle(delay);
+        robot.waitForIdle(2*delay);
         checkDynamicShape();
 
         // Resize
         location = window.getLocationOnScreen();
         robot.dragAndDrop(location.x + 4, location.y + 4, location.x + random.nextInt(2*dl)-dl, location.y + random.nextInt(2*dl)-dl);
-        robot.waitForIdle(delay);
+        robot.waitForIdle(2*delay);
         checkDynamicShape();
 
         EventQueue.invokeAndWait(this::dispose);