diff options
author | ncteisen <ncteisen@gmail.com> | 2018-06-20 08:52:27 -0700 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2018-06-20 08:52:27 -0700 |
commit | 48d03394066c48fdeb2818187eaf356135b04b6d (patch) | |
tree | 547bb41517adf56cc558fbf49d808182d23d849e /test/core | |
parent | 1a46d07ead1f81312da8ddebbb39b135a464d05e (diff) |
reviewer feedback
Diffstat (limited to 'test/core')
-rw-r--r-- | test/core/end2end/tests/channelz.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/end2end/tests/channelz.cc b/test/core/end2end/tests/channelz.cc index 847b900af1..eb052119ca 100644 --- a/test/core/end2end/tests/channelz.cc +++ b/test/core/end2end/tests/channelz.cc @@ -208,7 +208,7 @@ static void test_channelz(grpc_end2end_test_config config) { grpc_core::channelz::ChannelNode* channelz_channel = grpc_channel_get_channelz_node(f.client); - GPR_ASSERT(channelz_channel); + GPR_ASSERT(channelz_channel != nullptr); char* json = channelz_channel->RenderJSON(); GPR_ASSERT(json != nullptr); GPR_ASSERT(nullptr != strstr(json, "\"callsStarted\":\"0\"")); @@ -263,7 +263,7 @@ static void test_channelz_with_channel_trace(grpc_end2end_test_config config) { grpc_core::channelz::ChannelNode* channelz_channel = grpc_channel_get_channelz_node(f.client); - GPR_ASSERT(channelz_channel); + GPR_ASSERT(channelz_channel != nullptr); char* json = channelz_channel->RenderJSON(); GPR_ASSERT(json != nullptr); gpr_log(GPR_INFO, "%s", json); |