Open symphorien opened 2 years ago
I have also run into this. It appears that at least in our case, the RuntimeError: Failed to start the server after 5 seconds.
is triggered when setting LIVESERVER_PORT to 0. In particular, the following code is never invoked, which makes me suspect the patch it's doing is failing: https://github.com/jarus/flask-testing/blob/5107691011fa891835c01547e73e991c484fa07f/flask_testing/utils.py#L474
I can work around it by setting a specific port, but that isn't very resilient.
tested on current master