8153282: [TEST_BUG] some new JInternalFrame tests fail
Reviewed-by: alexsch, serb
--- a/jdk/test/javax/swing/JInternalFrame/6288609/TestJInternalFrameDispose.java Tue May 24 14:23:36 2016 +0530
+++ b/jdk/test/javax/swing/JInternalFrame/6288609/TestJInternalFrameDispose.java Tue May 24 14:30:31 2016 +0530
@@ -67,6 +67,7 @@
robot.waitForIdle();
executeTest();
+ robot.delay(1000);
dispose();
}
--- a/jdk/test/javax/swing/JInternalFrame/8145060/TestJInternalFrameMinimize.java Tue May 24 14:23:36 2016 +0530
+++ b/jdk/test/javax/swing/JInternalFrame/8145060/TestJInternalFrameMinimize.java Tue May 24 14:30:31 2016 +0530
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015,2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -155,7 +155,7 @@
};
}
});
- timer = new Timer(100, listener);
+ timer = new Timer(1000, listener);
timer.start();
robot.delay(1000);
}
--- a/jdk/test/javax/swing/JInternalFrame/8145896/TestJInternalFrameMaximize.java Tue May 24 14:23:36 2016 +0530
+++ b/jdk/test/javax/swing/JInternalFrame/8145896/TestJInternalFrameMaximize.java Tue May 24 14:30:31 2016 +0530
@@ -65,6 +65,7 @@
createUI();
robot.waitForIdle();
executeTest();
+ robot.delay(1000);
}
}
if (!"".equals(errorMessage)) {