RFR: 8356145: ListEnterExitTest.java fails on macos

Abhishek Kumar abhiscxk at openjdk.org
Tue May 20 04:20:54 UTC 2025


On Tue, 20 May 2025 04:12:59 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:

>> test/jdk/java/awt/List/ListEnterExitTest.java line 90:
>> 
>>> 88:             robot.waitForIdle();
>>> 89:             robot.delay(100);
>>> 90: 
>> 
>> I don't really understand why `waitForIdle` and `delay` are needed here at all.
>> 
>> Robot just moves mouse to generate mouse enter and exit events. It can do so without any delays, can't it?
>
> There is an intermittent failure observed only on macOS 14.7.1 machines. So, I added a small delay and after that on multiple runs in CI, I don't see any failures.

There is an intermittent failure observed only on macOS 14.7.1 machines. So, I added a small delay and after that on multiple runs in CI, I don't see any failures.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25299#discussion_r2096877644


More information about the client-libs-dev mailing list