RFR: 8360160: ubuntu-22-04 machine is failing client tests [v2]

Alexey Ivanov aivanov at openjdk.org
Mon Aug 25 20:24:41 UTC 2025


On Thu, 21 Aug 2025 03:02:07 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> Damon Nguyen has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Replace setAutoDelay
>
> test/jdk/java/awt/Frame/FrameVisualTest.java line 60:
> 
>> 58:         robot = new Robot();
>> 59:         robot.setAutoDelay(100);
>> 60:         try {
> 
> I believe setAutoDelay was creating some nuisance in ubuntu22.04 system and we removed it to use explicit delay whenever needed. Maybe you can add a waitForIdle after createScreenCapture and/or a delay

Why would `waitForIdle` or a delay be needed after `createScreenCapture`?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26871#discussion_r2299034424


More information about the client-libs-dev mailing list