Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add password authentication to Redis ports #2952

Merged
merged 27 commits into from
Oct 17, 2018
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Adress comments
  • Loading branch information
pschafhalter committed Oct 16, 2018
commit 8e090fe99a4a9795e2001185f3aad43c9cc944c2
4 changes: 2 additions & 2 deletions python/ray/test/test_ray_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ def f():
redis_ip, redis_port = redis_address.split(":")

# Check that we can run a task
task_id = f.remote()
ready, running = ray.wait([task_id], timeout=5000)
object_id = f.remote()
ready, running = ray.wait([object_id], timeout=5000)
assert len(ready) > 0, "Expected task to complete"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kind of a nit, but task_id should be object_id.

Also, instead of doing wait followed by an assert, maybe just do ray.get(object_id).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mind if I keep the ray.wait? While testing, I ran into a case where ray.get wouldn't fail, but block indefinitely (I think this was when I discovered the issues with the new GCS).


# Check that Redis connections require a password
Expand Down