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:
Eric Liang
2019-09-01 16:53:02 -07:00
committed by GitHub
parent c49b98cfc4
commit a101812b9f
49 changed files with 183 additions and 177 deletions
+3 -3
View File
@@ -16,7 +16,7 @@ def test_infeasible_tasks(ray_start_cluster):
return
cluster.add_node(resources={str(0): 100})
ray.init(redis_address=cluster.redis_address)
ray.init(address=cluster.address)
# Submit an infeasible task.
x_id = f._submit(args=[], kwargs={}, resources={str(1): 1})
@@ -30,14 +30,14 @@ def test_infeasible_tasks(ray_start_cluster):
driver_script = """
import ray
ray.init(redis_address="{}")
ray.init(address="{}")
@ray.remote(resources={})
def f():
{}pass # This is a weird hack to insert some blank space.
f.remote()
""".format(cluster.redis_address, "{str(2): 1}", " ")
""".format(cluster.address, "{str(2): 1}", " ")
run_string_as_driver(driver_script)