Skip to content

Commit

Permalink
fix: fix-likely-to-fail-test-case
Browse files Browse the repository at this point in the history
  • Loading branch information
sojingle committed Dec 17, 2024
1 parent 8af9acf commit b0f77d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/AmplitudeTests/Supports/TestUtilities.swift
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class FakeHttpClient: HttpClient {
result = uploadResults.removeFirst()
}

DispatchQueue.global().async { [weak self] in
DispatchQueue.global().asyncAfter(deadline: .now() + 0.01) { [weak self] in
completion(result)

if let self, !self.uploadExpectations.isEmpty {
Expand Down

0 comments on commit b0f77d2

Please sign in to comment.