Fix Redis Test (#5302)

This commit is contained in:
Simon Mo
2019-07-30 00:22:16 -07:00
committed by Robert Nishihara
parent b3bcf59148
commit 196495a4de
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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",