RFR: 8292381: java/net/httpclient/SpecialHeadersTest.java fails with "ERROR: Shutting down connection: HTTP/2 client stopped"
Daniel Fuchs
dfuchs at openjdk.org
Wed Aug 17 17:16:40 UTC 2022
Please find here a change that improves SpecialHeadersTest. This test creates a large amount of ephemeral clients and has been observed running out of heap space in our CI once. This change updates the test to wait for the previous HttpClient to be eligible for garbage collection before it creates a new one. It also verifies that no outstanding operation are still running on the client by the time the client is released.
-------------
Commit messages:
- 8292381: java/net/httpclient/SpecialHeadersTest.java fails with "ERROR: Shutting down connection: HTTP/2 client stopped"
Changes: https://git.openjdk.org/jdk/pull/9908/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9908&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8292381
Stats: 373 lines in 2 files changed: 250 ins; 27 del; 96 mod
Patch: https://git.openjdk.org/jdk/pull/9908.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/9908/head:pull/9908
PR: https://git.openjdk.org/jdk/pull/9908
More information about the net-dev
mailing list