Skip to content

Commit

Permalink
[Core] Deflake gcs_placement_group_manager_test (ray-project#41710)
Browse files Browse the repository at this point in the history
Another attempt after ray-project#30787. The root cause is that gcs_placement_group_manager is supposed to be single threaded but our test creates two threads (main thread and the io thread) and causes race conditions. The fix is removing one thread and run the io context in the main thread.

Signed-off-by: Jiajun Yao <jeromeyjj@gmail.com>
  • Loading branch information
jjyao authored Dec 8, 2023
1 parent 039d67b commit 959a48b
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 89 deletions.
1 change: 0 additions & 1 deletion ci/ray_ci/core.tests.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
flaky_tests:
- //:gcs_placement_group_manager_test
- //python/ray/tests:test_autoscaler
Loading

0 comments on commit 959a48b

Please sign in to comment.