Skip to content

Commit 0924a8a

Browse files
committed
fix test cases
1 parent ca369df commit 0924a8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/testFixtures/java/io/grpc/internal/AbstractTransportTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ public void openStreamPreventsTermination() throws Exception {
458458
serverTransport = null;
459459

460460
verify(mockClientTransportListener, timeout(TIMEOUT_MS)).transportShutdown(any(Status.class),
461-
eq(SimpleDisconnectError.SUBCHANNEL_SHUTDOWN));
461+
any(DisconnectError.class));
462462
assertTrue(serverListener.waitForShutdown(TIMEOUT_MS, TimeUnit.MILLISECONDS));
463463

464464
// A new server should be able to start listening, since the current server has given up

0 commit comments

Comments
 (0)