Skip to content

Commit

Permalink
[v3-main] fix tests that rebase broke (#5638)
Browse files Browse the repository at this point in the history
* fix integration test diffs

* correct other failing test
  • Loading branch information
robertpi authored and andrewlock committed Jul 25, 2024
1 parent 0b3acae commit cfe0d26
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ public static MetricTags.IntegrationName GetMetricTag(this IntegrationId integra
IntegrationId.DotnetTest => MetricTags.IntegrationName.DotnetTest,
IntegrationId.Selenium => MetricTags.IntegrationName.Selenium,
IntegrationId.DatadogTraceManual => MetricTags.IntegrationName.DatadogTraceManual,
IntegrationId.DirectoryListingLeak => MetricTags.IntegrationName.DirectoryListingLeak,
IntegrationId.SessionTimeout => MetricTags.IntegrationName.SessionTimeout,
_ => throw new InvalidOperationException($"Unknown IntegrationID {integrationId}"), // dangerous, but we test it will never be called
};
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[
[
{
TraceId: Id_1,
SpanId: Id_2,
Expand All @@ -13,7 +13,6 @@
},
Metrics: {
process_id: 0,
_dd.agent_psr: 1.0,
_dd.top_level: 1.0,
_dd.tracer_kr: 1.0,
_sampling_priority_v1: 1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
},
Metrics: {
process_id: 0,
_dd.agent_psr: 1.0,
_dd.top_level: 1.0,
_dd.tracer_kr: 1.0,
_sampling_priority_v1: 1.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[
[
{
TraceId: Id_1,
SpanId: Id_2,
Expand All @@ -14,7 +14,6 @@
},
Metrics: {
process_id: 0,
_dd.agent_psr: 1.0,
_dd.top_level: 1.0,
_dd.tracer_kr: 1.0,
_sampling_priority_v1: 1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
},
Metrics: {
process_id: 0,
_dd.agent_psr: 1.0,
_dd.appsec.enabled: 1.0,
_dd.appsec.waf.duration: 0.0,
_dd.appsec.waf.duration_ext: 0.0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
},
Metrics: {
process_id: 0,
_dd.agent_psr: 1.0,
_dd.appsec.enabled: 1.0,
_dd.appsec.waf.duration: 0.0,
_dd.appsec.waf.duration_ext: 0.0,
Expand Down

0 comments on commit cfe0d26

Please sign in to comment.