Skip to content

Commit fdaa43b

Browse files
authored
Merge branch 'main' into cb-strict-concurrency-base64
2 parents e46a477 + ce524be commit fdaa43b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/NIOFileSystemIntegrationTests/FileSystemTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ final class FileSystemTests: XCTestCase {
882882
// Give the cancellation time to kick in, this should be more than plenty.
883883
if shouldSleep {
884884
do {
885-
try await Task.sleep(for: .seconds(3))
885+
try await Task.sleep(nanoseconds: 3_000_000_000)
886886
XCTFail("\(description) Should have been cancelled by now!")
887887
} catch is CancellationError {
888888
// This is fine - we got cancelled as desired, let the rest of the in flight

0 commit comments

Comments
 (0)