aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/interop
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2017-12-06 22:09:36 -0800
committerGravatar Muxi Yan <mxyan@google.com>2017-12-06 22:09:36 -0800
commit67454d71e833a7704d61e673ad32e71dd31c868a (patch)
treefe720c5bb8388a02ed334b0b0c071c0f7b895b31 /test/cpp/interop
parentfc38142db69cd8c95f3c55a296b4e73b04c720c3 (diff)
parentb0bad8f3864dc9c8745736fe68efe513b2b84932 (diff)
Merge commit 'b0bad8f' into fix-stream-compression-config-interface
Diffstat (limited to 'test/cpp/interop')
-rw-r--r--test/cpp/interop/http2_client.cc2
-rw-r--r--test/cpp/interop/stress_test.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/interop/http2_client.cc b/test/cpp/interop/http2_client.cc
index 1e04e57d09..2de7abcf17 100644
--- a/test/cpp/interop/http2_client.cc
+++ b/test/cpp/interop/http2_client.cc
@@ -217,7 +217,7 @@ int main(int argc, char** argv) {
"goaway", "max_streams", "ping",
"rst_after_data", "rst_after_header", "rst_during_data"};
char* joined_testcases =
- gpr_strjoin_sep(testcases, GPR_ARRAY_SIZE(testcases), "\n", NULL);
+ gpr_strjoin_sep(testcases, GPR_ARRAY_SIZE(testcases), "\n", nullptr);
gpr_log(GPR_ERROR, "Unsupported test case %s. Valid options are\n%s",
FLAGS_test_case.c_str(), joined_testcases);
diff --git a/test/cpp/interop/stress_test.cc b/test/cpp/interop/stress_test.cc
index 991fc88ad2..028ff11b20 100644
--- a/test/cpp/interop/stress_test.cc
+++ b/test/cpp/interop/stress_test.cc
@@ -230,7 +230,7 @@ int main(int argc, char** argv) {
log_level = FLAGS_log_level;
gpr_set_log_function(TestLogFunction);
- srand(time(NULL));
+ srand(time(nullptr));
// Parse the server addresses
std::vector<grpc::string> server_addresses;