Home
last modified time | relevance | path

Searched refs:readySubchannel (Results 1 – 1 of 1) sorted by relevance

/external/grpc-grpc-java/core/src/test/java/io/grpc/util/
DRoundRobinLoadBalancerTest.java145 final Subchannel readySubchannel = subchannels.values().iterator().next(); in pickAfterResolved() local
147 loadBalancer.handleSubchannelState(readySubchannel, ConnectivityStateInfo.forNonError(READY)); in pickAfterResolved()
163 assertThat(getList(pickerCaptor.getValue())).containsExactly(readySubchannel); in pickAfterResolved()
334 final Subchannel readySubchannel = subchannels.values().iterator().next(); in nameResolutionErrorWithActiveChannels() local
336 loadBalancer.handleSubchannelState(readySubchannel, ConnectivityStateInfo.forNonError(READY)); in nameResolutionErrorWithActiveChannels()
350 assertEquals(readySubchannel, pickResult.getSubchannel()); in nameResolutionErrorWithActiveChannels()
354 assertEquals(readySubchannel, pickResult2.getSubchannel()); in nameResolutionErrorWithActiveChannels()