Skip to content

Commit bc9f9e1

Browse files
authored
Merge pull request #65096 from apple/ktoso-patch-14
[5.9][Executors] update assertion in distributed_actor_executor_asserts.swift
2 parents ce02630 + 644a304 commit bc9f9e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Distributed/Runtime/distributed_actor_executor_asserts.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ actor EnqueueTest {
8383
}
8484

8585
tests.test("remote actor reference should have crash-on-enqueue executor") {
86-
expectCrashLater(withMessage: "Attempted to enqueue Job (Job(id: 1)) on executor of remote distributed actor reference!")
86+
expectCrashLater(withMessage: "Attempted to enqueue ExecutorJob (ExecutorJob(id: 1)) on executor of remote distributed actor reference!")
8787
// we do the bad idea of taking an executor from a remote worker
8888
// and then force another actor to run on it; this will cause an enqueue on the "crash on enqueue" executor.
8989
let wrongUse = EnqueueTest(unownedExecutor: normalRemoteWorker.unownedExecutor)

0 commit comments

Comments
 (0)