Skip to content

Commit d98c88b

Browse files
committed
fix last itests ?
1 parent db4195f commit d98c88b

5 files changed

Lines changed: 11 additions & 0 deletions

File tree

tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/AWS/DataStreamsMonitoringAwsSnsTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public static IEnumerable<object[]> GetEnabledConfig()
3939
public async Task SubmitsDsmMetrics(string packageVersion)
4040
{
4141
SetEnvironmentVariable(ConfigurationKeys.DataStreamsMonitoring.Enabled, "1");
42+
SetEnvironmentVariable(ConfigurationKeys.PropagateProcessTags, "0");
4243

4344
using var telemetry = this.ConfigureTelemetry();
4445
using var agent = EnvironmentHelper.GetMockAgent();

tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/CI/MsTestV2Tests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ public async Task SubmitTraces(string packageVersion)
100100
targetSpan.Tags.Remove(Tags.GitCommitSha);
101101
targetSpan.Tags.Remove(Tags.GitRepositoryUrl);
102102

103+
// Remove process tags that get added to the first span of a payload
104+
targetSpan.Tags.Remove(Tags.ProcessTags);
105+
103106
// Remove EFD tags
104107
targetSpan.Tags.Remove(TestTags.TestIsNew);
105108
targetSpan.Tags.Remove(TestTags.TestIsRetry);

tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/CI/NUnitTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ public async Task SubmitTraces(string packageVersion)
9494
targetSpan.Tags.Remove(Tags.GitCommitSha);
9595
targetSpan.Tags.Remove(Tags.GitRepositoryUrl);
9696

97+
// Remove process tags that get added to the first span of a payload
98+
targetSpan.Tags.Remove(Tags.ProcessTags);
99+
97100
// Remove EFD tags
98101
targetSpan.Tags.Remove(TestTags.TestIsNew);
99102
targetSpan.Tags.Remove(TestTags.TestIsRetry);

tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/CI/XUnitTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ public virtual async Task SubmitTraces(string packageVersion)
6868
targetSpan.Tags.Remove(Tags.GitCommitSha);
6969
targetSpan.Tags.Remove(Tags.GitRepositoryUrl);
7070

71+
// Remove process tags that get added to the first span of a payload
72+
targetSpan.Tags.Remove(Tags.ProcessTags);
73+
7174
// Remove EFD tags
7275
targetSpan.Tags.Remove(TestTags.TestIsNew);
7376
targetSpan.Tags.Remove(TestTags.TestIsRetry);

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public DataStreamsMonitoringManualApiTest(ITestOutputHelper output)
2828
public async Task ContextPropagation()
2929
{
3030
SetEnvironmentVariable(ConfigurationKeys.DataStreamsMonitoring.Enabled, "1");
31+
SetEnvironmentVariable(ConfigurationKeys.PropagateProcessTags, "0");
3132

3233
using var agent = EnvironmentHelper.GetMockAgent();
3334
using var processResult = await RunSampleAndWaitForExit(agent);

0 commit comments

Comments
 (0)