Stress test repeated construction and fitting from same process

Author: eddiebergmanCreated Nov 17, 2021Updated Feb 4, 2026
LabelsGood first issuemaintenance

From issue #1302, it appears autosklearn is a bit unstable when run many times in the same script, i.e. in a for loop.

python
for i in range(400):
    automodel = AutoSklearn(full_resources)
    automodel.fit(x, y)

We currently have no test for this and it would be good to see if we can reproduce the same connection refused error.