diff --git a/ios/OperationsTests/OperationSmokeTests.swift b/ios/OperationsTests/OperationSmokeTests.swift index 7d8b17e7842c..6d66e6e63201 100644 --- a/ios/OperationsTests/OperationSmokeTests.swift +++ b/ios/OperationsTests/OperationSmokeTests.swift @@ -28,7 +28,8 @@ class OperationSmokeTests: XCTestCase { return [parent, child] } - DispatchQueue.global().async { + let dispatchQueue = DispatchQueue(label: "com.OperationSmokeTests.testBatch") + dispatchQueue.async { operationQueue.addOperations(operations, waitUntilFinished: true) expect.fulfill() }