Skip to content

Commit 1da78e1

Browse files
committed
feat: support process discovery v2 schema
1 parent fad6060 commit 1da78e1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/test_tracer.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1851,7 +1851,9 @@ TEST_TRACER("APM tracing disabled") {
18511851
auto finalized_config = finalize_config(config, clock);
18521852
REQUIRE(finalized_config);
18531853
Tracer tracer{*finalized_config};
1854-
{ auto root1 = tracer.create_span(); }
1854+
{
1855+
auto root1 = tracer.create_span();
1856+
}
18551857
REQUIRE(collector->chunks.size() == 1);
18561858
REQUIRE(collector->chunks.front().size() == 1);
18571859

@@ -1930,7 +1932,9 @@ TEST_TRACER("APM tracing disabled") {
19301932

19311933
// When APM Tracing is disabled, we allow one trace per second for service
19321934
// liveness. To ensure consistency, consume the limiter slot.
1933-
{ tracer.create_span(); }
1935+
{
1936+
tracer.create_span();
1937+
}
19341938
collector->chunks.clear();
19351939

19361940
// Case 1: extracted context with priority, but no `_dd.p.ts` → depends if

0 commit comments

Comments
 (0)