Skip to content

Commit 1e2047c

Browse files
authored
CI: Temporarily disable taskExecutor test with Task.immediate
rdar://155596073 Task executors execution may not always hop as expected I'm investigating a fix here as we speak, but disabling the specific piece of the test while we work on it.
1 parent 439afd6 commit 1e2047c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/Concurrency/Runtime/startImmediately.swift

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ print("call_taskImmediate_taskExecutor()")
462462
@TaskLocal
463463
nonisolated(unsafe) var niceTaskLocalValueYouGotThere: String = ""
464464

465+
// FIXME: rdar://155596073 Task executors execution may not always hop as expected
465466
func call_taskImmediate_taskExecutor(taskExecutor: NaiveQueueExecutor) async {
466467
await Task.immediate(executorPreference: taskExecutor) {
467468
print("Task.immediate(executorPreference:)")
@@ -560,7 +561,8 @@ func call_taskImmediate_taskExecutor(taskExecutor: NaiveQueueExecutor) async {
560561
}
561562
}
562563

563-
await call_taskImmediate_taskExecutor(
564-
taskExecutor: NaiveQueueExecutor(queue: DispatchQueue(label: "my-queue")))
564+
// FIXME: rdar://155596073 task executors can be somewhat racy it seems and not always hop as we'd want them to
565+
// await call_taskImmediate_taskExecutor(
566+
// taskExecutor: NaiveQueueExecutor(queue: DispatchQueue(label: "my-queue")))
565567

566-
print("DONE!") // CHECK: DONE!
568+
print("DONE!") // CHECK: DONE!

0 commit comments

Comments
 (0)