7120869: javax/swing/JScrollBar/4708809/bug4708809.java fails on Windows
authoralexsch
Tue, 13 Dec 2011 17:30:21 +0400
changeset 11267 96a1a5a9323c
parent 11266 e26fbb29d3ff
child 11268 f0e59c4852de
7120869: javax/swing/JScrollBar/4708809/bug4708809.java fails on Windows Summary: The robot auto-delay is increased to fix the test failing on Windows. Reviewed-by: alexp
jdk/test/javax/swing/JScrollBar/4708809/bug4708809.java
--- a/jdk/test/javax/swing/JScrollBar/4708809/bug4708809.java	Tue Dec 13 15:32:28 2011 +0400
+++ b/jdk/test/javax/swing/JScrollBar/4708809/bug4708809.java	Tue Dec 13 17:30:21 2011 +0400
@@ -44,7 +44,7 @@
     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() {