Home
last modified time | relevance | path

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

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DInternalSubchannelTest.java91 @Mock private BackoffPolicy mockBackoffPolicy1; field in InternalSubchannelTest
132 .thenReturn(mockBackoffPolicy1, mockBackoffPolicy2, mockBackoffPolicy3); in setUp()
133 when(mockBackoffPolicy1.nextBackoffNanos()).thenReturn(10L, 100L); in setUp()
192 verify(mockBackoffPolicy1, times(++backoff1Consulted)).nextBackoffNanos(); in singleAddressReconnect()
217 verify(mockBackoffPolicy1, times(++backoff1Consulted)).nextBackoffNanos(); in singleAddressReconnect()
258 verify(mockBackoffPolicy1, times(backoff1Consulted)).nextBackoffNanos(); in singleAddressReconnect()
302 verify(mockBackoffPolicy1, times(++backoff1Consulted)).nextBackoffNanos(); in twoAddressesReconnect()
338 verify(mockBackoffPolicy1, times(++backoff1Consulted)).nextBackoffNanos(); in twoAddressesReconnect()
407 verify(mockBackoffPolicy1, times(backoff1Consulted)).nextBackoffNanos(); in twoAddressesReconnect()