mirror of
https://github.com/wassname/ray.git
synced 2026-10-29 13:30:42 +08:00
[Core] Fix flaky test_failure (#10632)
This commit is contained in:
1 parent
30fff71d96
commit
3166693b29
1 file changed
+1
-1
@@ -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