On Thu, 17 Nov 2022 14:38:41 GMT, Alexander Zvegintsev <[email protected]> 
wrote:

> The issue contains evaluation:
> * the test is not failing on Windows
> * it also fails on Linux(but provided stack trace with failure is from 
> different test)
> 
> I rechecked the test and it does not fail on all platforms.
> 
> Test is stabilized:
> * replaced synchronization on windowActivated event with standard 
> `robot.waitForIdle(); robot.delay(1000);`
> * Robot autoDelay decreased to 250 to make the test go faster. It it still a 
> reasonable value.
> 
> CI testing looks good also.

test/jdk/java/awt/Scrollbar/ScrollbarMouseWheelTest/ScrollbarMouseWheelTest.java
 line 114:

> 112: 
> 113:         System.out.println("Test done.");
> 114:         if (sb1upevents == REPS &&

Note that all these flags are updated on one thread and used on another.

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

PR: https://git.openjdk.org/jdk/pull/11213

Reply via email to