Searched refs:SHUTDOWN_REASON (Results 1 – 2 of 2) sorted by relevance
81 private static final Status SHUTDOWN_REASON = Status.UNAVAILABLE.withDescription("for test"); field in InternalSubchannelTest691 internalSubchannel.shutdown(SHUTDOWN_REASON); in shutdownWhenReady()692 verify(transportInfo.transport).shutdown(same(SHUTDOWN_REASON)); in shutdownWhenReady()730 internalSubchannel.shutdown(SHUTDOWN_REASON); in shutdownBeforeTransportCreated()763 internalSubchannel.shutdown(SHUTDOWN_REASON); in shutdownBeforeTransportReady()767 verify(transportInfo.transport).shutdown(same(SHUTDOWN_REASON)); in shutdownBeforeTransportReady()804 internalSubchannel.shutdown(SHUTDOWN_REASON); in obtainTransportAfterShutdown()
132 private static final Status SHUTDOWN_REASON = Status.UNAVAILABLE.withDescription("for test"); field in OkHttpClientTransportTest809 clientTransport.shutdown(SHUTDOWN_REASON); in stopNormally()812 verify(transportListener).transportShutdown(same(SHUTDOWN_REASON)); in stopNormally()1021 clientTransport.shutdown(SHUTDOWN_REASON); in pendingStreamSucceedAfterShutdown()1374 clientTransport.shutdown(SHUTDOWN_REASON); in ping_failsWhenTransportShutdown()1378 assertSame(SHUTDOWN_REASON, ((StatusException) callback.failureCause).getStatus()); in ping_failsWhenTransportShutdown()1386 assertSame(SHUTDOWN_REASON, ((StatusException) callback.failureCause).getStatus()); in ping_failsWhenTransportShutdown()1468 clientTransport.shutdown(SHUTDOWN_REASON); in shutdownDuringConnecting()2052 clientTransport.shutdown(SHUTDOWN_REASON); in shutdownAndVerify()