RFR: 8274780: ChannelInputStream.readNBytes(int) incorrectly calls readAllBytes()

Florian Weimer fweimer at openjdk.java.net
Tue Oct 5 17:56:08 UTC 2021


On Tue, 5 Oct 2021 17:44:20 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> I'm invoking jtreg directly, following [Running tests using jtreg](http://openjdk.java.net/jtreg/runtests.html). That page doesn't mention `-timeoutFactor`.
>
>> I'm invoking jtreg directly, following [Running tests using jtreg](http://openjdk.java.net/jtreg/runtests.html). That page doesn't mention `-timeoutFactor`.
> 
> Okay, I think RunTests.gmk sets it to 4 but it can be overridden.

Should I lower the timeout to 900 then? With a factor of 4, that should be enough to run the test even on fairly slow machines.

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

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


More information about the nio-dev mailing list