Skip to content

[AIR] Fix test_tracked_actor unit test - #33075

Merged
krfricke merged 2 commits into
ray-project:masterfrom
justinvyu:air/fix_test_tracked_actor
Mar 7, 2023
Merged

[AIR] Fix test_tracked_actor unit test#33075
krfricke merged 2 commits into
ray-project:masterfrom
justinvyu:air/fix_test_tracked_actor

Conversation

@justinvyu

Copy link
Copy Markdown
Contributor

Why are these changes needed?

test_tracked_actor hangs due to a combination of shared pytest fixture + fixed resource allocation + placement groups not being cleaned up immediately after the test. This test calls gc.collect to force the cleanup to happen at the beginning of the test.

Related issue number

#31738

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

Signed-off-by: Justin Yu <justinvyu@berkeley.edu>

@krfricke krfricke left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@krfricke
krfricke merged commit 5fe6359 into ray-project:master Mar 7, 2023
@justinvyu
justinvyu deleted the air/fix_test_tracked_actor branch March 7, 2023 03:34
ProjectsByJackHe pushed a commit to ProjectsByJackHe/ray that referenced this pull request Mar 21, 2023
`test_tracked_actor` hangs due to a combination of shared pytest fixture + fixed resource allocation + placement groups not being cleaned up immediately after the test. This test calls `gc.collect` to force the cleanup to happen at the beginning of the test.

Signed-off-by: Justin Yu <justinvyu@berkeley.edu>
Signed-off-by: Jack He <jackhe2345@gmail.com>
edoakes pushed a commit to edoakes/ray that referenced this pull request Mar 22, 2023
`test_tracked_actor` hangs due to a combination of shared pytest fixture + fixed resource allocation + placement groups not being cleaned up immediately after the test. This test calls `gc.collect` to force the cleanup to happen at the beginning of the test.

Signed-off-by: Justin Yu <justinvyu@berkeley.edu>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
peytondmurray pushed a commit to peytondmurray/ray that referenced this pull request Mar 22, 2023
`test_tracked_actor` hangs due to a combination of shared pytest fixture + fixed resource allocation + placement groups not being cleaned up immediately after the test. This test calls `gc.collect` to force the cleanup to happen at the beginning of the test.

Signed-off-by: Justin Yu <justinvyu@berkeley.edu>
elliottower pushed a commit to elliottower/ray that referenced this pull request Apr 22, 2023
`test_tracked_actor` hangs due to a combination of shared pytest fixture + fixed resource allocation + placement groups not being cleaned up immediately after the test. This test calls `gc.collect` to force the cleanup to happen at the beginning of the test.

Signed-off-by: Justin Yu <justinvyu@berkeley.edu>
Signed-off-by: elliottower <elliot@elliottower.com>
ProjectsByJackHe pushed a commit to ProjectsByJackHe/ray that referenced this pull request May 4, 2023
`test_tracked_actor` hangs due to a combination of shared pytest fixture + fixed resource allocation + placement groups not being cleaned up immediately after the test. This test calls `gc.collect` to force the cleanup to happen at the beginning of the test.

Signed-off-by: Justin Yu <justinvyu@berkeley.edu>
Signed-off-by: Jack He <jackhe2345@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants