Skip to content

Commit 70dc8c1

Browse files
committed
increase test delay
1 parent bbe834f commit 70dc8c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/AWSLambdaRuntimeTests/LambdaRuntimeTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ struct LambdaRuntimeTests {
5050
}
5151

5252
// wait a small amount to ensure runtime1 task is started
53-
try await Task.sleep(for: .seconds(0.5))
53+
try await Task.sleep(for: .seconds(1))
5454

5555
// Running the second runtime should trigger LambdaRuntimeError
5656
await #expect(throws: LambdaRuntimeError.self) {
@@ -62,7 +62,7 @@ struct LambdaRuntimeTests {
6262
}
6363

6464
// wait a small amount to ensure everything is cancelled and cleanup
65-
try await Task.sleep(for: .seconds(0.5))
65+
try await Task.sleep(for: .seconds(1))
6666

6767
// Running the second runtime should work now
6868
try await withThrowingTaskGroup(of: Void.self) { taskGroup in

0 commit comments

Comments
 (0)