jupyterhub / the-littlest-jupyterhub

Simple JupyterHub distribution for 1-100 users on a single server
https://tljh.jupyter.org
BSD 3-Clause "New" or "Revised" License
1.02k stars 338 forks source link

test refactor: put bootstrap tests in an isolated job, save ~3 min in each of the integration test jobs #919

Closed consideRatio closed 1 year ago

consideRatio commented 1 year ago

We have a odd test, the integration-tests/test_bootstrap.py, that is different from the other integration tests. It can be refactored further and made like the others I think, but for now, let's not run it in sequence with the other tests, but isolate it.

Isolating it makes us not run it for each supported linux distribution for now, but we reduce test duration by ~3 minutes or so.

Another key benefit of separating this is that its easier to understand that test_bootstrap.py currently is quite different from the other integration tests, and has different needs etc, allowing future refactoring and general maintenance easier.