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 @@ -1850,9 +1850,7 @@ TEST_TRACER("APM tracing disabled") {
18501850 auto finalized_config = finalize_config (config, clock);
18511851 REQUIRE (finalized_config);
18521852 Tracer tracer{*finalized_config};
1853- {
1854- auto root1 = tracer.create_span ();
1855- }
1853+ { auto root1 = tracer.create_span (); }
18561854 REQUIRE (collector->chunks .size () == 1 );
18571855 REQUIRE (collector->chunks .front ().size () == 1 );
18581856
@@ -1931,9 +1929,7 @@ TEST_TRACER("APM tracing disabled") {
19311929
19321930 // When APM Tracing is disabled, we allow one trace per second for service
19331931 // liveness. To ensure consistency, consume the limiter slot.
1934- {
1935- tracer.create_span ();
1936- }
1932+ { tracer.create_span (); }
19371933 collector->chunks .clear ();
19381934
19391935 // 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