8224876: javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedPerPixelTranslucentGradient.java fails on linux-x64
authorpsadhukhan
Tue, 04 Jun 2019 14:43:57 +0530
changeset 55361 ed5c7d68ed5a
parent 55360 72bdfcf4cfb5
child 55362 37819ad0ac6f
8224876: javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedPerPixelTranslucentGradient.java fails on linux-x64 Reviewed-by: serb, jdv
test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/Common.java
--- 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);