diff options
author | Yang Gao <yangg@google.com> | 2015-06-04 08:58:19 -0700 |
---|---|---|
committer | Yang Gao <yangg@google.com> | 2015-06-04 08:58:19 -0700 |
commit | 491a67bc473655a960aed482787b1bcc2a773bba (patch) | |
tree | 7ba7aa1f7fb3f0217d457ce52dea16d378c90359 /test/core/end2end/fixtures | |
parent | bed8a0699e7440ab13cddda03a398bad26117f5b (diff) | |
parent | 2f300e297f6fc549c38d61a259f674b678b3599e (diff) |
Merge pull request #1903 from ctiller/maybe-i-want-to-change-my-mind
Enable runtime configuration of tracers
Diffstat (limited to 'test/core/end2end/fixtures')
-rw-r--r-- | test/core/end2end/fixtures/chttp2_socket_pair_with_grpc_trace.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/core/end2end/fixtures/chttp2_socket_pair_with_grpc_trace.c b/test/core/end2end/fixtures/chttp2_socket_pair_with_grpc_trace.c index d32dbec25e..0834987fbe 100644 --- a/test/core/end2end/fixtures/chttp2_socket_pair_with_grpc_trace.c +++ b/test/core/end2end/fixtures/chttp2_socket_pair_with_grpc_trace.c @@ -147,6 +147,10 @@ int main(int argc, char **argv) { grpc_test_init(argc, argv); grpc_init(); + GPR_ASSERT(0 == grpc_tracer_set_enabled("also-doesnt-exist", 0)); + GPR_ASSERT(1 == grpc_tracer_set_enabled("http", 1)); + GPR_ASSERT(1 == grpc_tracer_set_enabled("all", 1)); + for (i = 0; i < sizeof(configs) / sizeof(*configs); i++) { grpc_end2end_tests(configs[i]); } |