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:
parent
b633dc9918
commit
84ee878ee3
@ -44,7 +44,7 @@ public class bug4708809 {
|
|||||||
public static void main(String[] args) throws Exception {
|
public static void main(String[] args) throws Exception {
|
||||||
SunToolkit toolkit = (SunToolkit) Toolkit.getDefaultToolkit();
|
SunToolkit toolkit = (SunToolkit) Toolkit.getDefaultToolkit();
|
||||||
Robot robot = new Robot();
|
Robot robot = new Robot();
|
||||||
robot.setAutoDelay(50);
|
robot.setAutoDelay(350);
|
||||||
|
|
||||||
SwingUtilities.invokeAndWait(new Runnable() {
|
SwingUtilities.invokeAndWait(new Runnable() {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user