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.
MOS_MIGRATED_REVID=147590913
@@ -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();
