W3C Trace propagator tests - switch to level 1 (#4937)

This commit is contained in:
Piotr Kiełkowicz 2023-11-01 09:11:13 +01:00 committed by GitHub
parent d1d6d4b720
commit ff9912f87a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

View File

@ -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

View File

@ -103,11 +103,11 @@ public class W3CTraceContextTests : IDisposable
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);
}
}

View File

@ -11,4 +11,3 @@ services:
command: --TestCaseFilter:CategoryName=W3CTraceContextTests
environment:
- OTEL_W3CTRACECONTEXT=enabled
- SPEC_LEVEL=2