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:
Robert Nishihara
2018-03-19 20:24:35 -07:00
committed by Philipp Moritz
parent 73bb149c8a
commit 4658d0a180
10 changed files with 103 additions and 90 deletions
+1 -1
View File
@@ -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):