Skip to content

[5.9][Executors] update assertion in distributed_actor_executor_asserts.swift #65096

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ actor EnqueueTest {
}

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