Skip to content

Commit

Permalink
Merge pull request #1474 from DataDog/maciey/fix-xcode13.4-nightly-co…
Browse files Browse the repository at this point in the history
…mpilation

Fix Xcode 13.4 Nightly Tests
  • Loading branch information
maciejburda authored Sep 14, 2023
2 parents 849fc77 + 54c13db commit 402525e
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ class DataUploadWorkerTests: XCTestCase {
delay.current > initialUploadDelay
}
}, andThenFulfill: delayChangeExpectation)
wait(for: [delayChangeExpectation])
wait(for: [delayChangeExpectation], timeout: 0.5)
worker.cancelSynchronously()
}

Expand Down Expand Up @@ -240,7 +240,7 @@ class DataUploadWorkerTests: XCTestCase {
delay.current > initialUploadDelay
}
}, andThenFulfill: delayChangeExpectation)
wait(for: [delayChangeExpectation])
wait(for: [delayChangeExpectation], timeout: 0.5)
worker.cancelSynchronously()
}

Expand Down Expand Up @@ -275,7 +275,7 @@ class DataUploadWorkerTests: XCTestCase {
delay.current < initialUploadDelay
}
}, andThenFulfill: delayChangeExpectation)
wait(for: [delayChangeExpectation])
wait(for: [delayChangeExpectation], timeout: 0.5)
worker.cancelSynchronously()
}

Expand Down Expand Up @@ -558,7 +558,7 @@ class DataUploadWorkerTests: XCTestCase {

// Then
withExtendedLifetime(worker) {
wait(for: [expectTaskRegistered, expectTaskEnded])
wait(for: [expectTaskRegistered, expectTaskEnded], timeout: 0.5)
}
}

Expand Down Expand Up @@ -587,7 +587,7 @@ class DataUploadWorkerTests: XCTestCase {

// Then
withExtendedLifetime(worker) {
wait(for: [expectTaskRegistered, expectTaskEnded])
wait(for: [expectTaskRegistered, expectTaskEnded], timeout: 0.5)
}
}

Expand All @@ -613,7 +613,7 @@ class DataUploadWorkerTests: XCTestCase {
)
// Then
withExtendedLifetime(worker) {
wait(for: [expectTaskEnded])
wait(for: [expectTaskEnded], timeout: 0.5)
}
}
}
Expand Down

0 comments on commit 402525e

Please sign in to comment.