fix W3CTraceContextTests integration test (#3938)

This commit is contained in:
Timothy Mothra 2022-11-23 15:59:47 -08:00 committed by GitHub
parent 943c856c1c
commit 2f492b2fc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -96,7 +96,7 @@ namespace OpenTelemetry.Instrumentation.W3cTraceContext.Tests
// 2) harness sends an invalid traceparent with illegal characters in trace_flags ... FAIL
string lastLine = ParseLastLine(result);
this.output.WriteLine("result:" + result);
Assert.StartsWith("FAILED (failures=2)", lastLine);
Assert.StartsWith("FAILED (failures=3)", lastLine);
}
private static string RunCommand(string command, string args)

View File

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