Skip to content

Commit d6ed553

Browse files
committed
unlock async_taskgroup_void_neverConsumingTasks again rdar://104332560
1 parent e75ef10 commit d6ed553

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

test/Concurrency/Runtime/async_taskgroup_void_neverConsumingTasks.swift renamed to test/Concurrency/Runtime/async_taskgroup_discarding_neverConsumingTasks.swift

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// REQUIRES: concurrency
44
// REQUIRES: concurrency_runtime
55

6-
// REQUIRES: rdar104332560
76
// UNSUPPORTED: back_deployment_runtime
87
// UNSUPPORTED: OS=linux-gnu
98

@@ -38,7 +37,7 @@ actor Waiter {
3837
}
3938
}
4039

41-
func test_taskGroup_void_neverConsume() async {
40+
func test_discardingTaskGroup_neverConsume() async {
4241
print(">>> \(#function)")
4342
let until = 100
4443
let waiter = Waiter(until: until)
@@ -59,7 +58,7 @@ func test_taskGroup_void_neverConsume() async {
5958
print("all tasks: \(allTasks)")
6059
}
6160

62-
func test_taskGroup_void_neverConsume(sleepBeforeGroupWaitAll: Duration) async {
61+
func test_discardingTaskGroup_neverConsume(sleepBeforeGroupWaitAll: Duration) async {
6362
print(">>> \(#function)")
6463
let until = 100
6564
let waiter = Waiter(until: until)
@@ -85,7 +84,7 @@ func test_taskGroup_void_neverConsume(sleepBeforeGroupWaitAll: Duration) async {
8584

8685
@main struct Main {
8786
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))
9089
}
9190
}

0 commit comments

Comments
 (0)