RFR: 8332535: Mark java/nio/channels/DatagramChannel/Loopback.java as intermittent [v4]
SendaoYan
syan at openjdk.org
Wed Jun 26 15:00:45 UTC 2024
On Wed, 26 Jun 2024 14:43:01 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
> Please give me some time to test the proposed changes.
Okey.
> test/jdk/java/nio/channels/DatagramChannel/Loopback.java line 166:
>
>> 164: System.out.println("src: " + src + "not equal to dst: " + dst);
>> 165: dst.clear();
>> 166: continue;
>
> So if this happens we will go back waiting for 3 more seconds. We're not supposed to receive stray datagrams here, so I assume it might be OK to respin with 3 full seconds as this shouldn't happen too often...
Okey, I have added Thread.sleep(3000) in while loop.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19314#issuecomment-2191928570
PR Review Comment: https://git.openjdk.org/jdk/pull/19314#discussion_r1655042668
More information about the nio-dev
mailing list