Skip to content

Commit b1527ff

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/AWSLambdaRuntimeTests/LambdaRuntimeTests.swift

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

5252
// wait a small amount to ensure runtime1 task is started
53-
try await Task.sleep(for: .seconds(1))
53+
// on GH Actions, it might take a bit longer to start the runtime
54+
try await Task.sleep(for: .seconds(2))
5455

5556
// Running the second runtime should trigger LambdaRuntimeError
5657
await #expect(throws: LambdaRuntimeError.self) {

0 commit comments

Comments
 (0)