File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 3
3
// REQUIRES: concurrency
4
4
// REQUIRES: concurrency_runtime
5
5
6
- // REQUIRES: rdar104332560
7
6
// UNSUPPORTED: back_deployment_runtime
8
7
// UNSUPPORTED: OS=linux-gnu
9
8
@@ -38,7 +37,7 @@ actor Waiter {
38
37
}
39
38
}
40
39
41
- func test_taskGroup_void_neverConsume ( ) async {
40
+ func test_discardingTaskGroup_neverConsume ( ) async {
42
41
print ( " >>> \( #function) " )
43
42
let until = 100
44
43
let waiter = Waiter ( until: until)
@@ -59,7 +58,7 @@ func test_taskGroup_void_neverConsume() async {
59
58
print ( " all tasks: \( allTasks) " )
60
59
}
61
60
62
- func test_taskGroup_void_neverConsume ( sleepBeforeGroupWaitAll: Duration ) async {
61
+ func test_discardingTaskGroup_neverConsume ( sleepBeforeGroupWaitAll: Duration ) async {
63
62
print ( " >>> \( #function) " )
64
63
let until = 100
65
64
let waiter = Waiter ( until: until)
@@ -85,7 +84,7 @@ func test_taskGroup_void_neverConsume(sleepBeforeGroupWaitAll: Duration) async {
85
84
86
85
@main struct Main {
87
86
static func main( ) async {
88
- await test_taskGroup_void_neverConsume ( )
89
- await test_taskGroup_void_neverConsume ( sleepBeforeGroupWaitAll: . milliseconds( 500 ) )
87
+ await test_discardingTaskGroup_neverConsume ( )
88
+ await test_discardingTaskGroup_neverConsume ( sleepBeforeGroupWaitAll: . milliseconds( 500 ) )
90
89
}
91
90
}
You can’t perform that action at this time.
0 commit comments