Home
last modified time | relevance | path

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

/external/grpc-grpc-java/grpclb/src/test/java/io/grpc/grpclb/
DCachedSubchannelPoolTest.java73 private final ArrayList<Subchannel> mockSubchannels = new ArrayList<>(); field in CachedSubchannelPoolTest
85 mockSubchannels.add(subchannel); in setUp()
103 for (Subchannel subchannel : mockSubchannels) { in wrapUp()
DGrpclbLoadBalancerTest.java150 private final LinkedList<Subchannel> mockSubchannels = new LinkedList<Subchannel>(); field in GrpclbLoadBalancerTest
226 mockSubchannels.add(subchannel); in setUp()
433 assertEquals(2, mockSubchannels.size()); in loadReporting()
434 Subchannel subchannel1 = mockSubchannels.poll(); in loadReporting()
435 Subchannel subchannel2 = mockSubchannels.poll(); in loadReporting()
874 assertEquals(2, mockSubchannels.size()); in grpclbWorking()
875 Subchannel subchannel1 = mockSubchannels.poll(); in grpclbWorking()
876 Subchannel subchannel2 = mockSubchannels.poll(); in grpclbWorking()
961 assertEquals(1, mockSubchannels.size()); in grpclbWorking()
962 Subchannel subchannel3 = mockSubchannels.poll(); in grpclbWorking()
[all …]