Skip to content

Commit e830514

Browse files
test: Increase sleep time
Signed-off-by: Fabrizio Demaria <fabrizio.f.demaria@gmail.com>
1 parent e71d58a commit e830514

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/OpenFeatureTests/AsyncSerialQueueTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ class AsyncCoalescingSerialQueueTests: XCTestCase {
199199
// This ensures that when tasks 2 and 3 are queued, task 1 is still running
200200
let targetingKey = newContext.getTargetingKey()
201201
await tracker.recordExecution(targetingKey)
202-
try await Task.sleep(nanoseconds: 50_000_000) // 50ms
202+
try await Task.sleep(nanoseconds: 200_000_000) // 200ms
203203
}
204204
)
205205

@@ -485,7 +485,7 @@ class AsyncCoalescingSerialQueueTests: XCTestCase {
485485
throw MockProvider.MockProviderError.message("Simulated error")
486486
}
487487

488-
try await Task.sleep(nanoseconds: 30_000_000) // 30ms
488+
try await Task.sleep(nanoseconds: 200_000_000) // 200ms
489489
}
490490
)
491491

0 commit comments

Comments
 (0)