mirror of
https://github.com/wassname/ray.git
synced 2026-07-19 11:27:32 +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:
@@ -14,7 +14,7 @@ def test_conn_cluster():
|
||||
# plasma_store_socket_name
|
||||
with pytest.raises(Exception) as exc_info:
|
||||
ray.init(
|
||||
redis_address="127.0.0.1:6379",
|
||||
address="127.0.0.1:6379",
|
||||
plasma_store_socket_name="/tmp/this_should_fail")
|
||||
assert exc_info.value.args[0] == (
|
||||
"When connecting to an existing cluster, "
|
||||
@@ -23,7 +23,7 @@ def test_conn_cluster():
|
||||
# raylet_socket_name
|
||||
with pytest.raises(Exception) as exc_info:
|
||||
ray.init(
|
||||
redis_address="127.0.0.1:6379",
|
||||
address="127.0.0.1:6379",
|
||||
raylet_socket_name="/tmp/this_should_fail")
|
||||
assert exc_info.value.args[0] == (
|
||||
"When connecting to an existing cluster, "
|
||||
@@ -31,8 +31,7 @@ def test_conn_cluster():
|
||||
|
||||
# temp_dir
|
||||
with pytest.raises(Exception) as exc_info:
|
||||
ray.init(
|
||||
redis_address="127.0.0.1:6379", temp_dir="/tmp/this_should_fail")
|
||||
ray.init(address="127.0.0.1:6379", temp_dir="/tmp/this_should_fail")
|
||||
assert exc_info.value.args[0] == (
|
||||
"When connecting to an existing cluster, "
|
||||
"temp_dir must not be provided.")
|
||||
|
||||
Reference in New Issue
Block a user