diff options
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | test/core/channel/channelz_test.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0fd612b5c6..a875b8c73e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10797,6 +10797,7 @@ target_include_directories(channelz_test PRIVATE ${_gRPC_CARES_INCLUDE_DIR} PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} + PRIVATE ${_gRPC_NANOPB_INCLUDE_DIR} PRIVATE third_party/googletest/googletest/include PRIVATE third_party/googletest/googletest PRIVATE third_party/googletest/googlemock/include diff --git a/test/core/channel/channelz_test.cc b/test/core/channel/channelz_test.cc index e1dc76e4aa..cfd029f8fc 100644 --- a/test/core/channel/channelz_test.cc +++ b/test/core/channel/channelz_test.cc @@ -153,6 +153,7 @@ TEST(ChannelzChannelTest, ChannelzDisabled) { ChannelNode* channelz_channel = grpc_channel_get_channelz_node(channel); char* json_str = channelz_channel->RenderJSON(); ASSERT_EQ(json_str, nullptr); + grpc_channel_destroy(channel); } TEST_P(ChannelzChannelTest, BasicChannelAPIFunctionality) { |