From 18a5c7d69ac464a96bd957b1a997be8fc21d3914 Mon Sep 17 00:00:00 2001 From: Nacho Bonafonte Date: Tue, 25 Oct 2022 15:09:54 +0200 Subject: [PATCH] FIx a compilation issue with tests --- .../NetworkInstrumentation/DDNetworkInstrumentationTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/DatadogSDKTesting/NetworkInstrumentation/DDNetworkInstrumentationTests.swift b/Tests/DatadogSDKTesting/NetworkInstrumentation/DDNetworkInstrumentationTests.swift index acec9dc3..594e833e 100644 --- a/Tests/DatadogSDKTesting/NetworkInstrumentation/DDNetworkInstrumentationTests.swift +++ b/Tests/DatadogSDKTesting/NetworkInstrumentation/DDNetworkInstrumentationTests.swift @@ -19,7 +19,7 @@ class DDNetworkInstrumentationTests: XCTestCase { DDEnvironmentValues.environment[ConfigurationValues.DD_DISABLE_TEST_INSTRUMENTING.rawValue] = "1" DDTestMonitor.env = DDEnvironmentValues() DDTestMonitor.instance = DDTestMonitor() - DDTestMonitor.instance?.initializationWorkQueue.waitUntilAllOperationsAreFinished() + DDTestMonitor.instance?.instrumentationWorkQueue.waitUntilAllOperationsAreFinished() let tracer = DDTestMonitor.tracer OpenTelemetrySDK.instance.tracerProvider.addSpanProcessor(testSpanProcessor) DDTestMonitor.instance?.networkInstrumentation = DDNetworkInstrumentation()