Home
last modified time | relevance | path

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

/external/grpc-grpc-java/core/src/test/java/io/grpc/util/
DRoundRobinLoadBalancerTest.java170 Subchannel removedSubchannel = mock(Subchannel.class); in pickAfterResolvedUpdatedHosts() local
174 for (Subchannel subchannel : Lists.newArrayList(removedSubchannel, oldSubchannel, in pickAfterResolvedUpdatedHosts()
186 subchannels2.put(new EquivalentAddressGroup(removedAddr), removedSubchannel); in pickAfterResolvedUpdatedHosts()
208 assertThat(getList(picker)).containsExactly(removedSubchannel, oldSubchannel); in pickAfterResolvedUpdatedHosts()
210 verify(removedSubchannel, times(1)).requestConnection(); in pickAfterResolvedUpdatedHosts()
213 assertThat(loadBalancer.getSubchannels()).containsExactly(removedSubchannel, in pickAfterResolvedUpdatedHosts()
228 verify(removedSubchannel, times(1)).shutdown(); in pickAfterResolvedUpdatedHosts()
230 loadBalancer.handleSubchannelState(removedSubchannel, in pickAfterResolvedUpdatedHosts()