Skip to content

Commit

Permalink
Refacto development automl common backend debug (#2)
Browse files Browse the repository at this point in the history
* [ADD] debug information

* [FIX] try fork for more stability
  • Loading branch information
franchuterivera authored May 6, 2021
1 parent c784d34 commit 380dc83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_ensemble/test_ensemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -718,10 +718,10 @@ def test_ensemble_builder_nbest_remembered(fit_ensemble, ensemble_backend, dask_
max_iterations=None,
)

manager.build_ensemble(dask_client, unit_test=True)
manager.build_ensemble(dask_client, unit_test=True, pynisher_context='fork')
future = manager.futures[0]
dask.distributed.wait([future]) # wait for the ensemble process to finish
assert future.result() == ([], 5, None, None)
assert future.result() == ([], 5, None, None), vars(future.result())
file_path = os.path.join(ensemble_backend.internals_directory, 'ensemble_read_preds.pkl')
assert not os.path.exists(file_path)

Expand Down

0 comments on commit 380dc83

Please sign in to comment.