RFR: 8273617: UninitializedDisplayModeChangeTest.java times out on macOS 12 [v3]

Prasanta Sadhukhan psadhukhan at openjdk.org
Sun Sep 21 11:46:16 UTC 2025


On Sun, 21 Sep 2025 11:43:28 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> Test used to timeout even though it seems the test passed..Increased the timeout to a safe value as sometimes it shows elapsed time to timeout > 300secs in macOS in CI and also ensured the wait-time for child process to execute the test is not been waiting endlessly.
>> Also ensured the original display mode is resetted after the test to prevent affecting following tests.
>> 
>> Tried 100 iterations of the fix on all platforms which is ok
>
> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Remove displayMode reset

It seemed to be macOS bug on osx12 and it pass locally on osx15.6 everytime now even without timeout increase so I dont think bug exists anymore...It seems in slower CI systems it takes few minutes+ which is why we needed to increase the timeout to satisfy CI testing

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

PR Comment: https://git.openjdk.org/jdk/pull/27365#issuecomment-3315941120


More information about the client-libs-dev mailing list