On Tue, 17 Jun 2025 08:51:26 GMT, Volkan Yazici <vyaz...@openjdk.org> wrote:
>> Hello Volkan, the server handler in this test is implemented to allow more >> than one request during its lifetime. So any unexpected requests from other >> processes would still allow this test to be unaffected by those requests. >> Did I misunderstand your suggestion for registering the handler to a test >> specific context? > >> So any unexpected requests from other processes would still allow this test >> to be unaffected by those requests. > > Yes, _this test_ will not be affected, but the other test _might_. Consider a > test running in parallel, unexpectedly connecting to `HostHeaderTest`'s > server, and it is > > 1. either not expecting a response at all > 2. or not expecting the response returned from the `HostHeaderTest`'s handler I've updated the PR to register the handler at a test specific context root. Having said that, I wasn't aware we were doing this in our tests. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/25844#discussion_r2152333063