Fix test_actor_lifetime_load_balancing#5463
Conversation
|
Test PASSed. |
|
Test PASSed. |
python/ray/tests/test_actor.py
Outdated
There was a problem hiding this comment.
What is the purpose of the timing measurement in this test? We can probably just remove it, right?
There was a problem hiding this comment.
Hmm true, I forgot that the point of this test was that it used to hang.
Maybe we should just increase the timeout instead.
There was a problem hiding this comment.
@stephanie-wang do you want to just increase the total timeout? I saw the the PR title was add regression test for actor creation. And thought your purpose was to make sure creating actors wouldn't be too slow.
There was a problem hiding this comment.
In general, I think it's acceptable if a bug in a PR causes a test to hang (then we'll notice and fix the bug before it gets merged), so I'd be ok with no timeout, but if either of you feel strongly we can keep the timeout and make it longer.
There was a problem hiding this comment.
ok. Fixed per your comment.
|
Test PASSed. |
|
Test PASSed. |
|
@raulchen I just saw this test fail again in https://travis-ci.com/ray-project/ray/jobs/226080214. Looks like it timed out after 20 seconds. I posted the failure below. It's very surprising that it would take that long. Nevertheless, perhaps we should just get rid of the timeout. |
|
well, I verified that this test passed in all the 4 CI jobs before merging this PR. |
Why are these changes needed?
Increase timeout because it's slow in CI.
What do these changes do?
Related issue number
Linter
scripts/format.shto lint the changes in this PR.