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.
This commit is contained in:
Eric Anderson 2023-04-06 12:20:33 -07:00
parent 1e028c404d
commit f6ddd63f09
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ import org.junit.runners.JUnit4;
public class LoadWorkerTest { public class LoadWorkerTest {
private static final int TIMEOUT = 10; private static final int TIMEOUT = 20;
private static final Control.ClientArgs MARK = Control.ClientArgs.newBuilder() private static final Control.ClientArgs MARK = Control.ClientArgs.newBuilder()
.setMark(Control.Mark.newBuilder().setReset(true).build()) .setMark(Control.Mark.newBuilder().setReset(true).build())
.build(); .build();

View File

@ -2175,7 +2175,7 @@ public abstract class AbstractInteropTest {
/** Helper for asserting TLS info in SSLSession {@link io.grpc.ServerCall#getAttributes()}. */ /** Helper for asserting TLS info in SSLSession {@link io.grpc.ServerCall#getAttributes()}. */
protected void assertX500SubjectDn(String tlsInfo) { protected void assertX500SubjectDn(String tlsInfo) {
TestServiceGrpc.TestServiceBlockingStub stub = TestServiceGrpc.TestServiceBlockingStub stub =
blockingStub.withDeadlineAfter(5, TimeUnit.SECONDS); blockingStub.withDeadlineAfter(10, TimeUnit.SECONDS);
stub.unaryCall(SimpleRequest.getDefaultInstance()); stub.unaryCall(SimpleRequest.getDefaultInstance());