[jdk25u-dev] Integrated: 8368625: com/sun/net/httpserver/ServerStopTerminationTest.java fails intermittently
Roland Mesde
duke at openjdk.org
Mon Feb 2 18:54:34 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)
This pull request has now been integrated.
Changeset: 9601cfb0
Author: Roland Mesde <mesde at amazon.com>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.org/jdk25u-dev/commit/9601cfb007d8810729b853ae129bed9fd29acab8
Stats: 26 lines in 1 file changed: 10 ins; 11 del; 5 mod
8368625: com/sun/net/httpserver/ServerStopTerminationTest.java fails intermittently
Backport-of: 13b3d2fca1af71d0aa9908e19630c2e965dd7134
-------------
PR: https://git.openjdk.org/jdk25u-dev/pull/196
More information about the jdk-updates-dev
mailing list