Skip to content

Commit

Permalink
W3C Trace propagator tests - switch to level 1 (#4937)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kielek authored Nov 1, 2023
1 parent d1d6d4b commit ff9912f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ FROM ubuntu AS w3c
#Install git
WORKDIR /w3c
RUN apt-get update && apt-get install -y git
RUN git clone https://github.com/w3c/trace-context.git
RUN git clone --branch level-1 https://github.com/w3c/trace-context.git

FROM mcr.microsoft.com/dotnet/sdk:${BUILD_SDK_VERSION} AS build
ARG PUBLISH_CONFIGURATION=Release
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@ public void W3CTraceContextTestSuiteAsync(string value)

if (AspNetCoreHostingVersion.Major <= 6)
{
Assert.StartsWith("FAILED (failures=5)", lastLine);
Assert.StartsWith("FAILED (failures=3)", lastLine);
}
else
{
Assert.StartsWith("FAILED (failures=2)", lastLine);
Assert.StartsWith("OK", lastLine);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ services:
command: --TestCaseFilter:CategoryName=W3CTraceContextTests
environment:
- OTEL_W3CTRACECONTEXT=enabled
- SPEC_LEVEL=2

0 comments on commit ff9912f

Please sign in to comment.