RFR: 8273617: UninitializedDisplayModeChangeTest.java times out on macOS 12
Sergey Bylokhov
serb at openjdk.org
Fri Sep 19 01:18:46 UTC 2025
On Thu, 18 Sep 2025 13:24:06 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
test/jdk/java/awt/FullScreen/UninitializedDisplayModeChangeTest/DisplayModeChanger.java line 69:
> 67: f.dispose();
> 68: }
> 69: gd.setDisplayMode(currentDM);
Should not this be already reset by the gd.setFullScreenWindow(null)?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27365#discussion_r2361470970
More information about the client-libs-dev
mailing list