mirror of
https://github.com/wassname/ray.git
synced 2026-09-12 12:51:15 +08:00
Print error when actor takes too long to start, and refactor error me… (#1747)
* Print error when actor takes too long to start, and refactor error message pushing. * Print warning every ten seconds. * Fix linting and tests. * Fix tests.
This commit is contained in:
committed by
Philipp Moritz
parent
73bb149c8a
commit
4658d0a180
@@ -284,7 +284,7 @@ class WorkerDeath(unittest.TestCase):
|
||||
wait_for_errors(b"worker_died", 1)
|
||||
|
||||
self.assertEqual(len(ray.error_info()), 1)
|
||||
self.assertIn("A worker died or was killed while executing a task.",
|
||||
self.assertIn("died or was killed while executing the task",
|
||||
ray.error_info()[0][b"message"].decode("ascii"))
|
||||
|
||||
def testActorWorkerDying(self):
|
||||
|
||||
Reference in New Issue
Block a user