Fix redis-server stoping in linux (#6296)

* Cleanup test_calling_start_ray_head

* Kill redis-server with args instead of comm

In linux, ps -o pid,comm output just redis-server instead of the
full executable path
This commit is contained in:
Simon Mo
2019-11-29 22:50:05 -08:00
committed by GitHub
parent e28e464158
commit 4033d65e4f
3 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -321,7 +321,7 @@ print("success")
process_handle.kill()
def test_calling_start_ray_head():
def test_calling_start_ray_head(call_ray_stop_only):
# Test that we can call ray start with various command line
# parameters. TODO(rkn): This test only tests the --head code path. We
# should also test the non-head node code path.