mirror of
https://github.com/wassname/ray.git
synced 2026-07-13 17:45:08 +08:00
[Core] Fix flaky test_failure (#10632)
This commit is contained in:
@@ -729,7 +729,7 @@ def test_warning_for_too_many_nested_tasks(shutdown_only):
|
||||
time.sleep(1)
|
||||
ray.get(h.remote())
|
||||
|
||||
[g.remote() for _ in range(num_cpus * 4)]
|
||||
[g.remote() for _ in range(num_cpus * 6)]
|
||||
errors = get_error_message(p, 1, ray_constants.WORKER_POOL_LARGE_ERROR)
|
||||
assert len(errors) == 1
|
||||
assert errors[0].type == ray_constants.WORKER_POOL_LARGE_ERROR
|
||||
|
||||
Reference in New Issue
Block a user