Home
last modified time | relevance | path

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

/external/grpc-grpc-java/core/src/test/java/io/grpc/util/
DRoundRobinLoadBalancerTest.java344 Iterator<ConnectivityState> stateIterator = stateCaptor.getAllValues().iterator(); in nameResolutionErrorWithActiveChannels() local
345 assertEquals(CONNECTING, stateIterator.next()); in nameResolutionErrorWithActiveChannels()
346 assertEquals(READY, stateIterator.next()); in nameResolutionErrorWithActiveChannels()
347 assertEquals(TRANSIENT_FAILURE, stateIterator.next()); in nameResolutionErrorWithActiveChannels()
379 Iterator<ConnectivityState> stateIterator = stateCaptor.getAllValues().iterator(); in subchannelStateIsolation() local
382 assertEquals(CONNECTING, stateIterator.next()); in subchannelStateIsolation()
384 assertEquals(READY, stateIterator.next()); in subchannelStateIsolation()
386 assertEquals(READY, stateIterator.next()); in subchannelStateIsolation()
388 assertEquals(READY, stateIterator.next()); in subchannelStateIsolation()
391 assertEquals(READY, stateIterator.next()); in subchannelStateIsolation()
[all …]