8225511: javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedTranslucentPerPixelTranslucentGradient.java fails in linux-x64
Reviewed-by: serb, prr
--- 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);