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.java151 private final LinkedList<Subchannel> mockSubchannels = new LinkedList<Subchannel>(); field in GrpclbLoadBalancerTest
227 mockSubchannels.add(subchannel); in setUp()
434 assertEquals(2, mockSubchannels.size()); in loadReporting()
435 Subchannel subchannel1 = mockSubchannels.poll(); in loadReporting()
436 Subchannel subchannel2 = mockSubchannels.poll(); in loadReporting()
875 assertEquals(2, mockSubchannels.size()); in grpclbWorking()
876 Subchannel subchannel1 = mockSubchannels.poll(); in grpclbWorking()
877 Subchannel subchannel2 = mockSubchannels.poll(); in grpclbWorking()
962 assertEquals(1, mockSubchannels.size()); in grpclbWorking()
963 Subchannel subchannel3 = mockSubchannels.poll(); in grpclbWorking()
[all …]