Searched refs:oldSubchannel (Results 1 – 1 of 1) sorted by relevance
171 Subchannel oldSubchannel = mock(Subchannel.class); in pickAfterResolvedUpdatedHosts() local174 for (Subchannel subchannel : Lists.newArrayList(removedSubchannel, oldSubchannel, in pickAfterResolvedUpdatedHosts()187 subchannels2.put(new EquivalentAddressGroup(oldAddr), oldSubchannel); in pickAfterResolvedUpdatedHosts()208 assertThat(getList(picker)).containsExactly(removedSubchannel, oldSubchannel); in pickAfterResolvedUpdatedHosts()211 verify(oldSubchannel, times(1)).requestConnection(); in pickAfterResolvedUpdatedHosts()214 oldSubchannel); in pickAfterResolvedUpdatedHosts()217 subchannels2.put(new EquivalentAddressGroup(oldAddr), oldSubchannel); in pickAfterResolvedUpdatedHosts()233 assertThat(loadBalancer.getSubchannels()).containsExactly(oldSubchannel, in pickAfterResolvedUpdatedHosts()241 assertThat(getList(picker)).containsExactly(oldSubchannel, newSubchannel); in pickAfterResolvedUpdatedHosts()