From f6ddd63f098fca096a60ad9540912e7598c2a087 Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Thu, 6 Apr 2023 12:20:33 -0700 Subject: [PATCH] Increase test timeouts for ARM emulation LoadWorkerTest.runUnaryBlockingClosedLoop and Http2NettyTest.tlsInfo are failing every CI run. It appears they are the unfortunate tests run first, so are slowest to start as classloading proceeds. There's definitely other tests that probably need adjustment, but fixing these two gives us some hope of having a green run occasionally. --- .../src/test/java/io/grpc/benchmarks/driver/LoadWorkerTest.java | 2 +- .../java/io/grpc/testing/integration/AbstractInteropTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/src/test/java/io/grpc/benchmarks/driver/LoadWorkerTest.java b/benchmarks/src/test/java/io/grpc/benchmarks/driver/LoadWorkerTest.java index 64e2f2694e..d4669325aa 100644 --- a/benchmarks/src/test/java/io/grpc/benchmarks/driver/LoadWorkerTest.java +++ b/benchmarks/src/test/java/io/grpc/benchmarks/driver/LoadWorkerTest.java @@ -42,7 +42,7 @@ import org.junit.runners.JUnit4; public class LoadWorkerTest { - private static final int TIMEOUT = 10; + private static final int TIMEOUT = 20; private static final Control.ClientArgs MARK = Control.ClientArgs.newBuilder() .setMark(Control.Mark.newBuilder().setReset(true).build()) .build(); diff --git a/interop-testing/src/main/java/io/grpc/testing/integration/AbstractInteropTest.java b/interop-testing/src/main/java/io/grpc/testing/integration/AbstractInteropTest.java index 73ac7486b8..aeb866b352 100644 --- a/interop-testing/src/main/java/io/grpc/testing/integration/AbstractInteropTest.java +++ b/interop-testing/src/main/java/io/grpc/testing/integration/AbstractInteropTest.java @@ -2175,7 +2175,7 @@ public abstract class AbstractInteropTest { /** Helper for asserting TLS info in SSLSession {@link io.grpc.ServerCall#getAttributes()}. */ protected void assertX500SubjectDn(String tlsInfo) { TestServiceGrpc.TestServiceBlockingStub stub = - blockingStub.withDeadlineAfter(5, TimeUnit.SECONDS); + blockingStub.withDeadlineAfter(10, TimeUnit.SECONDS); stub.unaryCall(SimpleRequest.getDefaultInstance());