aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Lukacs Berki <lberki@google.com>2017-02-15 14:38:02 +0000
committerGravatar Dmitry Lomov <dslomov@google.com>2017-02-15 14:49:53 +0000
commit4f94bc35eebad35a5fca8ab1b0516b799f779b41 (patch)
tree1ad4c571c8ab3ee8b3e37bff15ef98eaf2b8b1dc /src
parenteffe8e92cbc80917639041d821730e7d46070f95 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/test/java/com/google/devtools/build/lib/server/GrpcServerTest.java4
1 files 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();