mirror of https://github.com/grpc/grpc-java.git
Line up usage and add assertions
This commit is contained in:
parent
21c287f7c3
commit
501246374c
|
|
@ -19,6 +19,7 @@ package io.grpc.testing.integration;
|
||||||
import static com.google.common.collect.Sets.newHashSet;
|
import static com.google.common.collect.Sets.newHashSet;
|
||||||
import static java.util.Collections.singletonList;
|
import static java.util.Collections.singletonList;
|
||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
|
import static org.junit.Assert.assertNull;
|
||||||
import static org.junit.Assert.assertTrue;
|
import static org.junit.Assert.assertTrue;
|
||||||
|
|
||||||
import com.google.common.collect.ImmutableList;
|
import com.google.common.collect.ImmutableList;
|
||||||
|
|
@ -65,6 +66,8 @@ public class StressTestClientTest {
|
||||||
assertEquals(1, client.channelsPerServer());
|
assertEquals(1, client.channelsPerServer());
|
||||||
assertEquals(1, client.stubsPerChannel());
|
assertEquals(1, client.stubsPerChannel());
|
||||||
assertEquals(8081, client.metricsPort());
|
assertEquals(8081, client.metricsPort());
|
||||||
|
assertEquals(-1, client.metricsLogRateSecs());
|
||||||
|
assertNull((client.customCredentialsType()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue