changeset 16024:329b1a617404

8168540: [TEST_BUG] On Unity, need a delay before screenshot taking to avoid animation Reviewed-by: psadhukhan, yan
author aniyogi
date Mon, 31 Oct 2016 12:10:08 +0530
parents 22c146c486ca
children 5445b9413d9d
files test/javax/swing/text/CSSBorder/6796710/bug6796710.java
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/javax/swing/text/CSSBorder/6796710/bug6796710.java	Fri Oct 28 12:08:04 2016 +0300
+++ b/test/javax/swing/text/CSSBorder/6796710/bug6796710.java	Mon Oct 31 12:10:08 2016 +0530
@@ -24,11 +24,10 @@
 /*
  * @test
  * @key headful
- * @bug 6796710 7124242
+ * @bug 6796710 7124242 8168540
  * @summary Html content in JEditorPane is overlapping on swing components while resizing the application.
  * @library ../../../regtesthelpers
  * @build Util
- * @author Pavel Porvatov
    @run main bug6796710
  */
 
@@ -109,7 +108,7 @@
             }
         });
 
-        robot.waitForIdle();
+        robot.delay(1000);
 
         // On Linux platforms realSync doesn't guaranties setSize completion
         Thread.sleep(1000);