Skip to content

Commit

Permalink
Fix core dump in tests
Browse files Browse the repository at this point in the history
Init tracers must always cleanup
  • Loading branch information
jgomezselles committed Nov 25, 2023
1 parent 49a7e51 commit f18d496
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ut/o11y/tracer_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ TEST_F(tracer_test, GetTracerWhenCannotConnect)
{
o11y::init_tracer("http://holis:9090");
o11y::get_tracer("hermes_client");
o11y::cleanup_tracer();
}

TEST_F(tracer_test, CreateOrphanChildSpanDoesNotDump)
Expand Down

0 comments on commit f18d496

Please sign in to comment.