mirror of
https://github.com/wassname/ray.git
synced 2026-09-10 12:38:43 +08:00
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:
committed by
Robert Nishihara
parent
dd4e99b481
commit
74ac80631b
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user