Skip to content

Commit

Permalink
Fix Redis Test (ray-project#5302)
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-mo authored and robertnishihara committed Jul 30, 2019
1 parent b3bcf59 commit 196495a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/ray/tests/test_ray_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def f():
# 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
Expand Down
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def find_version(*filepath):
"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",
Expand Down

0 comments on commit 196495a

Please sign in to comment.