mirror of
https://github.com/wassname/ray.git
synced 2026-08-05 13:21:03 +08:00
Replace --redis-address with --address in test, docs, tune, rllib (#5602)
* wip * add tests and tune * add ci * test fix * lint * fix tests * wip * sugar dep
This commit is contained in:
@@ -49,7 +49,7 @@ def ray_start_combination(request):
|
||||
})
|
||||
for i in range(num_nodes - 1):
|
||||
cluster.add_node(num_cpus=10)
|
||||
ray.init(redis_address=cluster.redis_address)
|
||||
ray.init(address=cluster.address)
|
||||
|
||||
yield num_nodes, num_workers_per_scheduler, cluster
|
||||
# The code after the yield will run as teardown code.
|
||||
@@ -219,7 +219,7 @@ def ray_start_reconstruction(request):
|
||||
_internal_config=json.dumps({
|
||||
"initial_reconstruction_timeout_milliseconds": 200
|
||||
}))
|
||||
ray.init(redis_address=cluster.redis_address)
|
||||
ray.init(address=cluster.address)
|
||||
|
||||
yield plasma_store_memory, num_nodes, cluster
|
||||
|
||||
|
||||
Reference in New Issue
Block a user