Skip to content

Commit 53809dc

Browse files
authored
[core] skip all tests in test_actor_bounded_threads (#39553) (#39590)
The test aimed to test that as we handle more tasks the number of threads does not go up unbounded. However the test was a little too strict: some non-Ray threads (e.g. grpc, jemalloc) pops up and breaks the assertion. Marking all tests tests as skipped, and will fix later. Signed-off-by: Ruiyang Wang <[email protected]>
1 parent 8c1aa0a commit 53809dc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/ray/tests/test_actor_bounded_threads.py

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# actor should not infinitely go up.
1515

1616

17+
@pytest.mark.skip(reason="Occational extra non-Ray threads, e.g. jemalloc")
1718
def test_threaded_actor_have_bounded_num_of_threads(shutdown_only):
1819
ray.init()
1920

@@ -45,6 +46,7 @@ def fibonacci(a, i):
4546
assert ray.get(a.my_number_of_threads.remote()) == n
4647

4748

49+
@pytest.mark.skip(reason="Occational extra non-Ray threads, e.g. jemalloc")
4850
def test_async_actor_have_bounded_num_of_threads(shutdown_only):
4951
ray.init()
5052

@@ -76,6 +78,7 @@ def fibonacci(a, i):
7678
assert ray.get(a.my_number_of_threads.remote()) == n
7779

7880

81+
@pytest.mark.skip(reason="Occational extra non-Ray threads, e.g. jemalloc")
7982
def test_async_actor_cg_have_bounded_num_of_threads(shutdown_only):
8083
ray.init()
8184

0 commit comments

Comments
 (0)