8225511: javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedTranslucentPerPixelTranslucentGradient.java fails in linux-x64
authorpsadhukhan
Tue, 11 Jun 2019 11:01:22 +0530
changeset 55367 f85fa2fc78c2
parent 55366 de1d2a535c08
child 55368 3467ea483f09
8225511: javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedTranslucentPerPixelTranslucentGradient.java fails in linux-x64 Reviewed-by: serb, prr
test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/Common.java
--- a/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/Common.java	Mon Jun 10 10:52:11 2019 +0530
+++ b/test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/Common.java	Tue Jun 11 11:01:22 2019 +0530
@@ -367,13 +367,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);
         checkTranslucentShape();
 
         // 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);
         checkTranslucentShape();
 
         EventQueue.invokeAndWait(this::dispose);