Don't use 127.0.0.1 for local ip address. (#1596)

* Don't use 127.0.0.1 for ip address.

* Update test
This commit is contained in:
Robert Nishihara
2018-04-02 00:34:20 -07:00
committed by Philipp Moritz
parent d3e974a9a4
commit 0fc989c6c1
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -2032,7 +2032,7 @@ class GlobalStateAPI(unittest.TestCase):
worker_info = ray.global_state.workers()
self.assertEqual(len(worker_info), num_workers)
for worker_id, info in worker_info.items():
self.assertEqual(info["node_ip_address"], "127.0.0.1")
self.assertIn("node_ip_address", info)
self.assertIn("local_scheduler_socket", info)
self.assertIn("plasma_manager_socket", info)
self.assertIn("plasma_store_socket", info)