Skip to content

Commit ca369df

Browse files
committed
fix test cases
1 parent 78a9f77 commit ca369df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cronet/src/test/java/io/grpc/cronet/CronetClientTransportTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ public void shutdownTransport() throws Exception {
128128
BidirectionalStream.Callback callback2 = callbackCaptor.getValue();
129129
// Shut down the transport. transportShutdown should be called immediately.
130130
transport.shutdown();
131-
verify(clientTransportListener).transportShutdown(any(Status.class));
131+
verify(clientTransportListener).transportShutdown(any(Status.class),
132+
any(DisconnectError.class));
132133
// Have two live streams. Transport has not been terminated.
133134
verify(clientTransportListener, times(0)).transportTerminated();
134135

0 commit comments

Comments
 (0)