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 8a1bb33 commit 97e7fceCopy full SHA for 97e7fce
Tests/AWSLambdaRuntimeTests/LambdaRuntimeTests.swift
@@ -62,14 +62,9 @@ struct LambdaRuntimeTests {
62
try await taskGroup.next()
63
}
64
65
- // cancel the other task
+ // cancel the group to end the test
66
taskGroup.cancelAll()
67
68
- // get the second result (should throw a ChannelError)
69
- try await #require(throws: ChannelError.self) {
70
- try await taskGroup.next()
71
- }
72
-
73
74
75
// wait a small amount to ensure everything is cancelled and cleanup
0 commit comments