RFR: 8281511: java/net/ipv6tests/UdpTest.java fails with checkTime failed [v5]

Mark Sheppard msheppar at openjdk.org
Tue Mar 4 12:30:52 UTC 2025


On Tue, 4 Mar 2025 12:18:10 GMT, serhiysachkov <duke at openjdk.org> wrote:

>> switching to nanoTime as suggested in ticket comments
>
> serhiysachkov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8281511: update check timeout logic to take into account lower bound as mentioned in review discussion

test/jdk/java/net/ipv6tests/Tests.java line 159:

> 157:         dprintln("checkIfTimeOut: got = " + got + " lower bound = " + expected);
> 158: 
> 159:         if (got <= expected) {

I think just < expected  ... effectively good timeout is >= specified timeout

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23840#discussion_r1979328790


More information about the net-dev mailing list