diff --git a/CMakeLists.txt b/CMakeLists.txt index d1933c4b046..f53f4e384c2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6434,6 +6434,7 @@ target_include_directories(fork_test PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR} PRIVATE ${_gRPC_CARES_INCLUDE_DIR} PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR} + PRIVATE ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR} ) target_link_libraries(fork_test diff --git a/test/core/gprpp/fork_test.cc b/test/core/gprpp/fork_test.cc index c4a8a4e5f5b..05820eb8855 100644 --- a/test/core/gprpp/fork_test.cc +++ b/test/core/gprpp/fork_test.cc @@ -90,7 +90,6 @@ static void exec_ctx_thread(void* arg) { } static void test_exec_count() { - grpc_core::Fork::IncExecCtxCount(); grpc_core::Fork::Enable(true); grpc_core::Fork::GlobalInit();