# HG changeset patch # User aniyogi # Date 1477896008 -19800 # Node ID 524d908e49eafa5ddbd34fa24b73d0e467e77168 # Parent 7e908937a51b4345f208d1a9306688db7ff68f5a 8168540: [TEST_BUG] On Unity, need a delay before screenshot taking to avoid animation Reviewed-by: psadhukhan, yan diff -r 7e908937a51b -r 524d908e49ea jdk/test/javax/swing/text/CSSBorder/6796710/bug6796710.java --- a/jdk/test/javax/swing/text/CSSBorder/6796710/bug6796710.java Fri Oct 28 12:08:04 2016 +0300 +++ b/jdk/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);