From f7786eed8befc26d7972b7a81c3f56aafd851878 Mon Sep 17 00:00:00 2001 From: fjetter Date: Fri, 10 Mar 2023 13:15:37 +0100 Subject: [PATCH] adjust limits --- distributed/tests/test_profile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distributed/tests/test_profile.py b/distributed/tests/test_profile.py index 5e7feebf2f..3036d12745 100644 --- a/distributed/tests/test_profile.py +++ b/distributed/tests/test_profile.py @@ -357,7 +357,7 @@ def test_call_stack_f_lineno(f_lasti: int, f_lineno: int) -> None: def test_stack_overflow(): old = sys.getrecursionlimit() - sys.setrecursionlimit(200) + sys.setrecursionlimit(300) try: state = create() frame = None @@ -370,7 +370,7 @@ def f(i): else: return f(i - 1) - f(sys.getrecursionlimit() - 200) + f(sys.getrecursionlimit() - 100) process(frame, None, state) assert state["children"] assert state["count"]