We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 396a754 commit 2a628c9Copy full SHA for 2a628c9
Tests/AsyncHelpersTests/AsyncHelpersTests.swift
@@ -41,7 +41,7 @@ final class AsyncHelpersTests: XCTestCase {
41
42
// Wait for tasks to have run; this is a hack but I can't think of any better way.
43
// Can't use a lock or semaphore; the tasks will block after calling the awaiter until it's trigger.
44
- try await Task.sleep(for: .milliseconds(10))
+ try await Task.sleep(nanoseconds: 100_000_000)
45
46
await awaiter.trigger()
47
#if canImport(Darwin) || swift(>=5.10)
0 commit comments