RFR: 8223696: java/net/httpclient/MaxStreams.java failed with didn't finish within the time-out [v2]
Daniel Jeliński
djelinski at openjdk.org
Wed Jan 24 09:11:38 UTC 2024
> The test was occasionally failing with TestNG timeout. When a TestNG test times out, TestNG interrupts the test thread, and starts another test case in a new thread. The timeout is invisible to JTReg, and the timeout failure handlers are not run.
>
> This PR removes the TestNG timeout. It also removes `-ea -esa` from the test command line (the test does not use `assert`), and reduces the amount of synchronization objects used.
>
> I verified that the timeouts are now handled by JTReg. The test still passes.
Daniel Jeliński has updated the pull request incrementally with one additional commit since the last revision:
Reintroduce log
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/17536/files
- new: https://git.openjdk.org/jdk/pull/17536/files/55db7ea8..ef74f79d
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=17536&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=17536&range=00-01
Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/17536.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/17536/head:pull/17536
PR: https://git.openjdk.org/jdk/pull/17536
More information about the net-dev
mailing list