[jdk25u-dev] RFR: 8368625: com/sun/net/httpserver/ServerStopTerminationTest.java fails intermittently
duke
duke at openjdk.org
Mon Feb 2 15:25:35 UTC 2026
On Wed, 28 Jan 2026 20:50:17 GMT, Roland Mesde <duke at openjdk.org> wrote:
> Backporting JDK-8368625: com/sun/net/httpserver/ServerStopTerminationTest.java fails intermittently.
>
> This PR fixes the intermittent failures in ServerStopTerminationTest.java caused by flawed test timing logic and race conditions. It increases the timeout from 5 to 20 seconds to account for machine load and OS scheduling variability.
>
> For parity with Oracle JDK.
>
> Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:
>
> make test TEST=test/jdk/com/sun/net/httpserver/ServerStopTerminationTest.java
>
> Results attached:
>
> [windows-x64-specific-test.log](https://github.com/user-attachments/files/24945653/windows-x64-specific-test.log)
> [macos-aarch64-specific-test.log](https://github.com/user-attachments/files/24945654/macos-aarch64-specific-test.log)
> [linux-x64-specific-test.log](https://github.com/user-attachments/files/24945655/linux-x64-specific-test.log)
> [linux-aarch64-specific-test.log](https://github.com/user-attachments/files/24945656/linux-aarch64-specific-test.log)
@rm-gh-8
Your change (at version 6e2a78b69938aea2440b6481380f486e837c056c) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk25u-dev/pull/196#issuecomment-3835829715
More information about the jdk-updates-dev
mailing list