Skip to content

Commit bc43cdd

Browse files
committed
Run test_shutdown_with_sys_exit_at_pickle many times
1 parent df355d8 commit bc43cdd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/_test_process_executor.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,9 @@ def test_shutdown_with_pickle_error(self):
112112

113113
def test_shutdown_with_sys_exit_at_pickle(self):
114114
self.executor.shutdown()
115-
with self.executor_type(max_workers=4) as e:
116-
e.submit(id, ExitAtPickle())
115+
for i in range(30):
116+
with self.executor_type(max_workers=4) as e:
117+
e.submit(id, ExitAtPickle())
117118

118119
def test_interpreter_shutdown(self):
119120
# Free resources to avoid random timeout in CI

0 commit comments

Comments
 (0)