changeset 55867:f85fa2fc78c2

8225511: javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedTranslucentPerPixelTranslucentGradient.java fails in linux-x64 Reviewed-by: serb, prr
author psadhukhan
date Tue, 11 Jun 2019 11:01:22 +0530
parents de1d2a535c08
children 3467ea483f09
files test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/Common.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);