Skip to content

Commit 127ec68

Browse files
Fixed delay to be more reliable
1 parent 1f16983 commit 127ec68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/DataLoaderTests/DataLoaderAsyncTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ final class DataLoaderAsyncTests: XCTestCase {
8989
async let value2 = identityLoader.load(key: 2, on: eventLoopGroup)
9090

9191
/// Have to wait for a split second because Tasks may not be executed before this statement
92-
try await Task.sleep(nanoseconds: 500_000)
92+
try await Task.sleep(nanoseconds: 500_000_000)
9393

9494
XCTAssertNoThrow(try identityLoader.execute())
9595

0 commit comments

Comments
 (0)