aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/transport
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2017-11-20 12:35:02 -0800
committerGravatar Mark D. Roth <roth@google.com>2017-11-20 12:35:02 -0800
commitda6b4790e5e34958d444ee12f3eefcc2dac464a9 (patch)
tree60e22bbd5b44c1247b10188a62fbaf7a4320d9f2 /test/core/transport
parente36d9eaa2c6ba687a1fb0909b3d87b8c332a249c (diff)
parentc567ceb01af2ccfc4bd631c0c1247767732c67a1 (diff)
Merge remote-tracking branch 'upstream/master' into server_connection_timeout
Diffstat (limited to 'test/core/transport')
-rw-r--r--test/core/transport/connectivity_state_test.cc3
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();