7120869: javax/swing/JScrollBar/4708809/bug4708809.java fails on Windows

The robot auto-delay is increased to fix the test failing on Windows.

Reviewed-by: alexp
This commit is contained in:
Alexander Scherbatiy 2011-12-13 17:30:21 +04:00
parent b633dc9918
commit 84ee878ee3

View File

@ -44,7 +44,7 @@ public class bug4708809 {
public static void main(String[] args) throws Exception {
SunToolkit toolkit = (SunToolkit) Toolkit.getDefaultToolkit();
Robot robot = new Robot();
robot.setAutoDelay(50);
robot.setAutoDelay(350);
SwingUtilities.invokeAndWait(new Runnable() {