<Swing Dev> RFR: JDK-8273312 : [TESTBUG] sanity/client/SwingSet/src/ButtonDemoScreenshotTest.java fails intermittently on Windows OS.

Pankaj Bansal pbansal at openjdk.java.net
Mon Sep 6 13:58:38 UTC 2021


On Mon, 6 Sep 2021 11:35:05 GMT, Amresh Sahu <github.com+72060147+amresh-sahu at openjdk.org> wrote:

> Problem: In Windows look and feel, Button(in test case ui) starts animating to show the selection and test case captures the animated button image to do the comparisons with initial button image and this comparison fails with Timeout Exception exception. 
> 
> Solution: TestHelper class provides the list of look and feel. One more method added to this class to exclude the windows look and feel.
> 
> This test has been tested  20 times on mach5 and It is passing.

Is there a specific reason why this comparison only times out for windows L&F and the test passes on other L&Fs. I mean should not a bug be filled to investigate the reason for the same instead of excluding the Windows L&F from the tested L&Fs.

-------------

PR: https://git.openjdk.java.net/jdk/pull/5380


More information about the swing-dev mailing list