8024407: [macosx] javax/swing/JScrollBar/7163696/Test7163696.java failed intermittently on macos
Reviewed-by: alexsch
--- a/jdk/test/javax/swing/JScrollBar/7163696/Test7163696.java Tue Sep 10 17:06:38 2013 +0400
+++ b/jdk/test/javax/swing/JScrollBar/7163696/Test7163696.java Tue Sep 10 17:12:32 2013 +0400
@@ -59,7 +59,8 @@
UIManager.setLookAndFeel(info.getClassName());
SwingUtilities.invokeAndWait(this);
- toolkit.realSync(500); // after creation
+ toolkit.realSync(); // after creation
+ Thread.sleep(1000);
Point point = this.bar.getLocation();
SwingUtilities.convertPointToScreen(point, this.bar);
@@ -69,7 +70,8 @@
robot.mousePress(InputEvent.BUTTON1_MASK);
robot.mouseRelease(InputEvent.BUTTON1_MASK);
- toolkit.realSync(500); // before validation
+ toolkit.realSync(); // before validation
+ Thread.sleep(1000);
SwingUtilities.invokeAndWait(this);
if (this.bar != null) {