mirror of
https://github.com/wassname/ray.git
synced 2026-07-05 00:34:30 +08:00
Fix Redis Test (#5302)
This commit is contained in:
committed by
Robert Nishihara
parent
b3bcf59148
commit
196495a4de
@@ -38,7 +38,7 @@ class TestRedisPassword(object):
|
||||
# Check that Redis connections require a password
|
||||
redis_client = redis.StrictRedis(
|
||||
host=redis_ip, port=redis_port, password=None)
|
||||
with pytest.raises(redis.ResponseError):
|
||||
with pytest.raises(redis.exceptions.AuthenticationError):
|
||||
redis_client.ping()
|
||||
|
||||
# Check that we can connect to Redis using the provided password
|
||||
|
||||
+1
-1
@@ -143,7 +143,7 @@ requires = [
|
||||
"colorama",
|
||||
"pytest",
|
||||
"pyyaml",
|
||||
"redis",
|
||||
"redis>=3.3.2",
|
||||
# NOTE: Don't upgrade the version of six! Doing so causes installation
|
||||
# problems. See https://github.com/ray-project/ray/issues/4169.
|
||||
"six >= 1.0.0",
|
||||
|
||||
Reference in New Issue
Block a user