Skip to content

Commit

Permalink
Increase test timeouts for ARM emulation
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ejona86 committed Apr 11, 2023
1 parent 1e028c4 commit f6ddd63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2175,7 +2175,7 @@ protected SocketAddress obtainLocalClientAddr() {
/** 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());

Expand Down

0 comments on commit f6ddd63

Please sign in to comment.