changeset 55861:ed5c7d68ed5a

8224876: javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedPerPixelTranslucentGradient.java fails on linux-x64 Reviewed-by: serb, jdv
author psadhukhan
date Tue, 04 Jun 2019 14:43:57 +0530
parents 72bdfcf4cfb5
children 37819ad0ac6f
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	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);