diff --git a/utils/build/docker/dotnet/parametric/Endpoints/ApmTestApi.cs b/utils/build/docker/dotnet/parametric/Endpoints/ApmTestApi.cs index 59e21a74680..944592867a9 100644 --- a/utils/build/docker/dotnet/parametric/Endpoints/ApmTestApi.cs +++ b/utils/build/docker/dotnet/parametric/Endpoints/ApmTestApi.cs @@ -197,7 +197,6 @@ private static async Task ExtractHeaders(HttpRequest request) private static async Task InjectHeaders(HttpRequest request) { var requestJson = await ParseJsonAsync(request.Body); - var span = FindSpan(requestJson); var httpHeaders = new List(); @@ -224,7 +223,6 @@ private static async Task FinishSpan(HttpRequest request) private static string Crash(HttpRequest request) { var thread = new Thread(() => throw new BadImageFormatException("Expected")); - thread.Start(); thread.Join();