From 4f94bc35eebad35a5fca8ab1b0516b799f779b41 Mon Sep 17 00:00:00 2001 From: Lukacs Berki Date: Wed, 15 Feb 2017 14:38:02 +0000 Subject: Bump up the time we are willing to wait for gRPC to start up in GrpcServerTests. Our Jenkins slaves are apparently slower than our workstations, thus, they are timeout-flaky. -- PiperOrigin-RevId: 147590913 MOS_MIGRATED_REVID=147590913 --- .../java/com/google/devtools/build/lib/server/GrpcServerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/com/google/devtools/build/lib/server/GrpcServerTest.java b/src/test/java/com/google/devtools/build/lib/server/GrpcServerTest.java index cfb6b5c02c..b83ad0432b 100644 --- a/src/test/java/com/google/devtools/build/lib/server/GrpcServerTest.java +++ b/src/test/java/com/google/devtools/build/lib/server/GrpcServerTest.java @@ -380,8 +380,8 @@ public class GrpcServerTest { boolean ok = false; // Wait until the server starts up. Should be reasonably quick. - for (int i = 0; i < 20; i++) { - Thread.sleep(100); + for (int i = 0; i < 50; i++) { + Thread.sleep(200); PingRequest request = PingRequest.newBuilder() .setCookie(impl.getRequestCookie()) .build(); -- cgit v1.2.3