diff options
author | Craig Tiller <ctiller@google.com> | 2016-03-23 08:13:01 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-03-23 08:13:01 -0700 |
commit | 9498bb1bb140784d4348d10fa6b401e6a8bda9c0 (patch) | |
tree | 3e0f8370d7186b6b13b81e633756125bd389c33e /test/core/end2end/fixtures | |
parent | e3af44e2e93620a05f502c44e3711dd22716da79 (diff) |
Reorder asserts to avoid TSAN failure
Diffstat (limited to 'test/core/end2end/fixtures')
-rw-r--r-- | test/core/end2end/fixtures/h2_full+trace.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/core/end2end/fixtures/h2_full+trace.c b/test/core/end2end/fixtures/h2_full+trace.c index 90b0063089..042ee212d7 100644 --- a/test/core/end2end/fixtures/h2_full+trace.c +++ b/test/core/end2end/fixtures/h2_full+trace.c @@ -118,14 +118,14 @@ int main(int argc, char **argv) { grpc_test_init(argc, argv); grpc_init(); - for (i = 0; i < sizeof(configs) / sizeof(*configs); i++) { - grpc_end2end_tests(argc, argv, configs[i]); - } - 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(argc, argv, configs[i]); + } + grpc_shutdown(); return 0; |