Skip to content

Commit 764f1a2

Browse files
committed
Disable OTEL for the Yarp tests for now
1 parent fdee721 commit 764f1a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/YarpDistributedTracingTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ public YarpDistributedTracingTests(ITestOutputHelper output)
2424
: base("Yarp.DistributedTracing", output)
2525
{
2626
SetServiceVersion(ServiceVersion);
27+
// This generates an extra span in some versions of YARP, so for simplicity, we exclude it
28+
SetEnvironmentVariable("DD_TRACE_OTEL_ENABLED", "false");
2729
}
2830

2931
public override Result ValidateIntegrationSpan(MockSpan span, string metadataSchemaVersion) => Result.DefaultSuccess;

0 commit comments

Comments
 (0)