@@ -112,6 +112,7 @@ def test_zero_or_negative_cutoff(self, pynisher_mock):
112112 metric = accuracy ,
113113 cost_for_crash = get_cost_of_crash (accuracy ),
114114 abort_on_first_run_crash = False ,
115+ pynisher_context = 'forkserver' ,
115116 )
116117 self .scenario .wallclock_limit = 5
117118 self .stats .submitted_ta_runs += 1
@@ -130,6 +131,7 @@ def test_cutoff_lower_than_remaining_time(self, pynisher_mock):
130131 metric = accuracy ,
131132 cost_for_crash = get_cost_of_crash (accuracy ),
132133 abort_on_first_run_crash = False ,
134+ pynisher_context = 'forkserver' ,
133135 )
134136 self .stats .ta_runs = 1
135137 ta .run_wrapper (RunInfo (config = config , cutoff = 30 , instance = None , instance_specific = None ,
@@ -224,6 +226,7 @@ def test_eval_with_limits_holdout_fail_timeout(self, pynisher_mock):
224226 metric = accuracy ,
225227 cost_for_crash = get_cost_of_crash (accuracy ),
226228 abort_on_first_run_crash = False ,
229+ pynisher_context = 'forkserver' ,
227230 )
228231 info = ta .run_wrapper (RunInfo (config = config , cutoff = 30 , instance = None ,
229232 instance_specific = None , seed = 1 , capped = False ))
@@ -259,6 +262,7 @@ def side_effect(**kwargs):
259262 metric = accuracy ,
260263 cost_for_crash = get_cost_of_crash (accuracy ),
261264 abort_on_first_run_crash = False ,
265+ pynisher_context = 'forkserver' ,
262266 )
263267 info = ta .run_wrapper (RunInfo (config = config , cutoff = 30 , instance = None ,
264268 instance_specific = None , seed = 1 , capped = False ))
@@ -282,6 +286,7 @@ def side_effect(**kwargs):
282286 metric = accuracy ,
283287 cost_for_crash = get_cost_of_crash (accuracy ),
284288 abort_on_first_run_crash = False ,
289+ pynisher_context = 'forkserver' ,
285290 )
286291 info = ta .run_wrapper (RunInfo (config = config , cutoff = 30 , instance = None ,
287292 instance_specific = None , seed = 1 , capped = False ))
0 commit comments