Skip to content

Fix double question mark in http.target #339

Fix double question mark in http.target

Fix double question mark in http.target #339

Triggered via pull request September 9, 2024 15:20
Status Failure
Total duration 6m 53s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
Elastic.OpenTelemetry.Tests.Processors.ElasticCompatibilityProcessorTests.AddsExpectedHttpAttributes_WhenUrlQuery_IsPresent: tests/Elastic.OpenTelemetry.Tests/Processors/ElasticCompatibilityProcessorTests.cs#L79
Expected activity.Tags.Single(t => t.Key == TraceSemanticConventions.HttpTarget).Value to be "/my/path?q=OpenTelemetry" with a length of 24, but "/my/pathq=OpenTelemetry" has a length of 23, differs near "q=O" (index 8).
build
Process completed with exit code 1.
Elastic.OpenTelemetry.Tests.Processors.ElasticCompatibilityProcessorTests.AddsExpectedHttpAttributes_WhenUrlQuery_IsPresent: tests/Elastic.OpenTelemetry.Tests/Processors/ElasticCompatibilityProcessorTests.cs#L79
Expected activity.Tags.Single(t => t.Key == TraceSemanticConventions.HttpTarget).Value to be "/my/path?q=OpenTelemetry" with a length of 24, but "/my/pathq=OpenTelemetry" has a length of 23, differs near "q=O" (index 8).
test-windows
Process completed with exit code 1.
build
test-windows