mirror of
https://github.com/wassname/ray.git
synced 2026-08-16 11:27:09 +08:00
Refactor actor task queues (#1118)
* Refactor add_task_to_actor_queue into queue_actor_task and insert_actor_task_queue * Refactor actor task queue to share the waiting task queue * Fix
This commit is contained in:
committed by
Robert Nishihara
parent
79ea205b3e
commit
15486a14a0
+2
-2
@@ -1434,8 +1434,8 @@ class ActorReconstruction(unittest.TestCase):
|
||||
# The most recently executed checkpoint task should throw an exception
|
||||
# when trying to resume. All other checkpoint tasks should reconstruct
|
||||
# the previous task but throw no errors.
|
||||
self.assertEqual(len([error for error in errors if error[b"type"] ==
|
||||
b"task"]), 1)
|
||||
self.assertTrue(len([error for error in errors if error[b"type"] ==
|
||||
b"task"]) > 0)
|
||||
|
||||
ray.worker.cleanup()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user