-
Notifications
You must be signed in to change notification settings - Fork 327
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
[Ray] Refine ray tests #2793
[Ray] Refine ray tests #2793
Conversation
a2280c9
to
b155779
Compare
e81fd84
to
11e1330
Compare
…_ray_test # Conflicts: # mars/oscar/backends/ray/pool.py
Codacy failed, please fix it. |
7821cc8
to
df7185f
Compare
4304efd
to
b38232e
Compare
ci/reload-env.sh
Outdated
@@ -1,5 +1,6 @@ | |||
#!/bin/bash | |||
|
|||
set -e | |||
set -x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Github actions put set -e
as a default option. set -x
will add unnecessary call records and should be used for debug purpose only.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
set -x
can help us locate bugs, I prefer enable it. For CI, I think it's OK to have more logs to keep as much info as possible. Is there any privacy issue for enable it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When using if
block in bash, option -e
will output EVERY statement executed. Thus it is not appropriate to enable this globally. I'll remove it myself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What do these changes do?
refine ray tests:
Related issue number
Fixes #2792
Check code requirements