File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
binder/src/test/java/io/grpc/binder/internal Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 56
56
import io .grpc .internal .ClientTransport ;
57
57
import io .grpc .internal .ClientTransportFactory .ClientTransportOptions ;
58
58
import io .grpc .internal .ConnectionClientTransport ;
59
+ import io .grpc .internal .DisconnectError ;
59
60
import io .grpc .internal .GrpcUtil ;
60
61
import io .grpc .internal .InternalServer ;
61
62
import io .grpc .internal .ManagedClientTransport ;
@@ -336,7 +337,7 @@ public void clientIgnoresTransactionFromNonServerUids() throws Exception {
336
337
sendShutdownTransportTransactionAsUid (client , serverUid );
337
338
338
339
verify (mockClientTransportListener , timeout (TIMEOUT_MS ))
339
- .transportShutdown (statusCaptor .capture ());
340
+ .transportShutdown (statusCaptor .capture (), any ( DisconnectError . class ) );
340
341
assertThat (statusCaptor .getValue ().getCode ()).isEqualTo (Status .Code .UNAVAILABLE );
341
342
assertThat (statusCaptor .getValue ().getDescription ()).contains ("shutdown" );
342
343
}
You can’t perform that action at this time.
0 commit comments