Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

consideRatio
Copy link
Member

@consideRatio consideRatio commented Jun 9, 2023

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.

@consideRatio consideRatio force-pushed the pr/isolate-bootstraptests-to-a-dedicated-job branch from e21307b to f21b38a Compare June 9, 2023 10:49
@consideRatio consideRatio force-pushed the pr/isolate-bootstraptests-to-a-dedicated-job branch from f21b38a to 0c914af Compare June 9, 2023 10:51
@consideRatio consideRatio requested a review from minrk June 9, 2023 11:05
@consideRatio consideRatio changed the title test refactor: put bootstrap tests in an isolated job test refactor: put bootstrap tests in an isolated job, save ~3 min in each of the integration test jobs Jun 9, 2023
@consideRatio consideRatio merged commit e6fe1f2 into jupyterhub:main Jun 9, 2023
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants