JAVA-25341 fix Java networking flaky tests (#14798)

This commit is contained in:
Kasra Madadipouya 2023-09-21 05:58:33 +02:00 committed by GitHub
parent 1f9bcc7ef1
commit 914d01d03d
3 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ public class EchoIntegrationTest {
Executors.newSingleThreadExecutor()
.submit(() -> new EchoServer().start(port));
Thread.sleep(500);
Thread.sleep(2000);
}
private EchoClient client = new EchoClient();

View File

@ -27,7 +27,7 @@ public class GreetServerIntegrationTest {
Executors.newSingleThreadExecutor()
.submit(() -> new GreetServer().start(port));
Thread.sleep(500);
Thread.sleep(2000);
}
@Before

View File

@ -23,7 +23,7 @@ public class SocketEchoMultiIntegrationTest {
s.close();
Executors.newSingleThreadExecutor().submit(() -> new EchoMultiServer().start(port));
Thread.sleep(500);
Thread.sleep(2000);
}
@Test