8024407: [macosx] javax/swing/JScrollBar/7163696/Test7163696.java failed intermittently on macos
Reviewed-by: alexsch
This commit is contained in:
parent
1568ef9e85
commit
4ac63f2df4
@ -59,7 +59,8 @@ public class Test7163696 implements Runnable {
|
||||
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 @@ public class Test7163696 implements Runnable {
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user