mirror of
https://github.com/wassname/ray.git
synced 2026-08-08 11:25:28 +08:00
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:
committed by
Philipp Moritz
parent
d3e974a9a4
commit
0fc989c6c1
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user