diff --git a/interop-testing/src/main/java/io/grpc/testing/integration/StressTestClient.java b/interop-testing/src/main/java/io/grpc/testing/integration/StressTestClient.java index 8fb48a3aba..f2c4eec184 100644 --- a/interop-testing/src/main/java/io/grpc/testing/integration/StressTestClient.java +++ b/interop-testing/src/main/java/io/grpc/testing/integration/StressTestClient.java @@ -204,7 +204,7 @@ public class StressTestClient { + "\n --use_test_ca=true|false Whether to trust our fake CA. Requires" + " --use_tls=true" + "\n to have effect. Default: " + c.useTestCa - + "\n --custom_credentials_type Custom credentials type to use. Default " + + "\n --custom_credentials_type Custom credentials type to use. Default " + c.customCredentialsType + "\n --test_duration_secs=SECONDS '-1' for no limit. Default: " + c.durationSecs + "\n --num_channels_per_server=INT Number of connections to each server address." diff --git a/interop-testing/src/test/java/io/grpc/testing/integration/StressTestClientTest.java b/interop-testing/src/test/java/io/grpc/testing/integration/StressTestClientTest.java index d4a44222d1..301c7e56f0 100644 --- a/interop-testing/src/test/java/io/grpc/testing/integration/StressTestClientTest.java +++ b/interop-testing/src/test/java/io/grpc/testing/integration/StressTestClientTest.java @@ -19,6 +19,7 @@ package io.grpc.testing.integration; import static com.google.common.collect.Sets.newHashSet; import static java.util.Collections.singletonList; import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import com.google.common.collect.ImmutableList; @@ -65,6 +66,8 @@ public class StressTestClientTest { assertEquals(1, client.channelsPerServer()); assertEquals(1, client.stubsPerChannel()); assertEquals(8081, client.metricsPort()); + assertEquals(-1, client.metricsLogRateSecs()); + assertNull((client.customCredentialsType())); } @Test