We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbe834f commit 70dc8c1Copy full SHA for 70dc8c1
Tests/AWSLambdaRuntimeTests/LambdaRuntimeTests.swift
@@ -50,7 +50,7 @@ struct LambdaRuntimeTests {
50
}
51
52
// wait a small amount to ensure runtime1 task is started
53
- try await Task.sleep(for: .seconds(0.5))
+ try await Task.sleep(for: .seconds(1))
54
55
// Running the second runtime should trigger LambdaRuntimeError
56
await #expect(throws: LambdaRuntimeError.self) {
@@ -62,7 +62,7 @@ struct LambdaRuntimeTests {
62
63
64
// wait a small amount to ensure everything is cancelled and cleanup
65
66
67
// Running the second runtime should work now
68
try await withThrowingTaskGroup(of: Void.self) { taskGroup in
0 commit comments