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

ci: intermittent test failures in the integration tests jobs #897

Open consideRatio opened 1 year ago

consideRatio commented 1 year ago

Reported by @minrk in https://github.com/jupyterhub/the-littlest-jupyterhub/pull/861#issuecomment-1552652928.

I guess without looking into it that this fixture could be to blame, because it is reloading hub / proxy, but does it ensure they are ready to be used after that?

  1. proxy needs to be restarted and become ready
  2. hub needs to be restarted and become ready
  3. hub needs to configure routes in restarted proxy

Maybe if we ensure 3 is completed first, we reduce intermittent failures?

https://github.com/jupyterhub/the-littlest-jupyterhub/blob/05ed42a0b1d5e26bc6c4ddfd2c45844b9335e4b4/integration-tests/conftest.py#L9-L29