RFR: 8286873: Improve websocket test execution time

Daniel Jeliński djelinski at openjdk.java.net
Thu May 19 09:45:39 UTC 2022


On Thu, 19 May 2022 09:22:57 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

> What looks questionable is rearrangement of asserts: when `assertHangs` moves down. assertNotDone(cfClose) can transitorry pass even if ping has not hung.

`assertHangs` either waits for 5 seconds or throws an exception, so `assertNotDone` after `assertHangs` is pretty much equivalent to `assertHangs`

-------------

PR: https://git.openjdk.java.net/jdk/pull/8746


More information about the net-dev mailing list