def METHOD_NAME(self):
    self._worker_manager._nodes[3].status = NodeStatus.FINISHED
    self._worker_manager._nodes[4].status = NodeStatus.FAILED
    plan = self._worker_manager.delete_exited_workers()
    node_names = [node.name for node in plan.remove_nodes]
    self.assertListEqual(
        node_names,
        ["test-edljob-worker-3", "test-edljob-worker-4"],
    )