Local scheduler sends a null heartbeat to global scheduler (#962)

* Local scheduler sends a null heartbeat to global scheduler to notify death

* Add whitespace.

* Speed up component failures test

* Free local scheduler state upon plasma manager disconnection
This commit is contained in:
Stephanie Wang
2017-09-12 10:45:21 -07:00
committed by Robert Nishihara
parent dd4e99b481
commit 74ac80631b
11 changed files with 109 additions and 26 deletions
+3 -2
View File
@@ -151,11 +151,12 @@ class ComponentFailureTest(unittest.TestCase):
components = ray.services.all_processes[component_type]
for process in components[1:]:
process.terminate()
time.sleep(0.1)
time.sleep(1)
for process in components[1:]:
process.kill()
process.wait()
self.assertNotEqual(process.poll(), None)
time.sleep(1)
# Make sure that we can still get the objects after the executing tasks
# died.