diff options
author | ncteisen <ncteisen@gmail.com> | 2017-11-20 10:50:38 -0500 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2017-11-20 10:56:04 -0500 |
commit | 993e9f06921123a9220031398ecfbf52a6114dce (patch) | |
tree | f15a85d3446e8a8495e8fb5b02a1f7c4aa26c6fc /test/core/transport | |
parent | 46f9175ba3a27958a1655707d6014de1ba3ce4d5 (diff) | |
parent | 9addd2eef21a96e52135dc9369566d8452412763 (diff) |
Merge branch 'master' of https://github.com/grpc/grpc into no-more-extern-c
Diffstat (limited to 'test/core/transport')
-rw-r--r-- | test/core/transport/connectivity_state_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/core/transport/connectivity_state_test.cc b/test/core/transport/connectivity_state_test.cc index 7a22ec848d..11046e126e 100644 --- a/test/core/transport/connectivity_state_test.cc +++ b/test/core/transport/connectivity_state_test.cc @@ -23,6 +23,7 @@ #include <grpc/support/log.h> #include "test/core/util/test_config.h" +#include "test/core/util/tracer_util.h" #define THE_ARG ((void*)(size_t)0xcafebabe) @@ -136,7 +137,7 @@ static void test_subscribe_with_failure_then_destroy(void) { int main(int argc, char** argv) { grpc_test_init(argc, argv); - grpc_connectivity_state_trace.value = 1; + grpc_core::testing::grpc_tracer_enable_flag(&grpc_connectivity_state_trace); test_connectivity_state_name(); test_check(); test_subscribe_then_unsubscribe(); |