Skip to content

Commit 339ef99

Browse files
committed
fix tests
1 parent 682c672 commit 339ef99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

okhttp/src/test/java/io/grpc/okhttp/OkHttpClientTransportTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2018,7 +2018,7 @@ public void proxy_immediateServerClose() throws Exception {
20182018
status.getDescription().contains("proxy"));
20192019
assertEquals("Not UNAVAILABLE: " + statusCaptor.getValue(),
20202020
Status.UNAVAILABLE.getCode(), status.getCode());
2021-
assertEquals(SimpleDisconnectError.SUBCHANNEL_SHUTDOWN, error);
2021+
assertEquals(new GoAwayDisconnectError(GrpcUtil.Http2Error.INTERNAL_ERROR), error);
20222022
verify(transportListener, timeout(TIME_OUT_MS)).transportTerminated();
20232023
}
20242024

0 commit comments

Comments
 (0)