File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -1851,9 +1851,7 @@ TEST_TRACER("APM tracing disabled") {
18511851 auto finalized_config = finalize_config (config, clock);
18521852 REQUIRE (finalized_config);
18531853 Tracer tracer{*finalized_config};
1854- {
1855- auto root1 = tracer.create_span ();
1856- }
1854+ { auto root1 = tracer.create_span (); }
18571855 REQUIRE (collector->chunks .size () == 1 );
18581856 REQUIRE (collector->chunks .front ().size () == 1 );
18591857
@@ -1932,9 +1930,7 @@ TEST_TRACER("APM tracing disabled") {
19321930
19331931 // When APM Tracing is disabled, we allow one trace per second for service
19341932 // liveness. To ensure consistency, consume the limiter slot.
1935- {
1936- tracer.create_span ();
1937- }
1933+ { tracer.create_span (); }
19381934 collector->chunks .clear ();
19391935
19401936 // Case 1: extracted context with priority, but no `_dd.p.ts` → depends if
You can’t perform that action at this time.
0 commit comments