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

restore proxy tests #167

Merged
merged 7 commits into from Mar 6, 2023
Merged

restore proxy tests #167

merged 7 commits into from Mar 6, 2023

Conversation

minrk
Copy link
Member

@minrk minrk commented Mar 3, 2023

removed in #157, actually deleted most of our tests!

tests/test_proxy.py Outdated Show resolved Hide resolved
minrk and others added 2 commits March 6, 2023 08:26
Co-authored-by: Simon Li <orpheus+devel@gmail.com>
and make sure to check the returncode
if we want re-usable tests, let's move them to pytest-jupyterhub
@minrk
Copy link
Member Author

minrk commented Mar 6, 2023

Since the reasoning behind the separate proxytest no longer applies, I merged them into a simpler test_proxy.py (diff is large because git doesn't understand merging files, but no lines of tests are changed).

The failure was due to the trailing-line stripping in traefik_etcd_txns.txt, where the trailing two newlines were actually required for it to function. Fixed by 174be9a.

remove unused fixtures, consolidate etcd args, use ssl args everywhere auth is enabled,
not just most places
ensures they are run in the right order
@minrk minrk merged commit 645468d into jupyterhub:main Mar 6, 2023
@minrk minrk deleted the restore-proxy-tests branch March 6, 2023 10:17
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