W3C Trace propagator tests - switch to level 1 (#4937)
This commit is contained in:
parent
d1d6d4b720
commit
ff9912f87a
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -11,4 +11,3 @@ services:
|
|||
command: --TestCaseFilter:CategoryName=W3CTraceContextTests
|
||||
environment:
|
||||
- OTEL_W3CTRACECONTEXT=enabled
|
||||
- SPEC_LEVEL=2
|
||||
|
|
|
|||
Loading…
Reference in New Issue