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

Generate test TLS certificates on demand #1113

Merged
merged 1 commit into from
Feb 18, 2025
Merged

Conversation

fsouza
Copy link
Owner

@fsouza fsouza commented Feb 18, 2025

This avoids having pem files that could expire and cause tests to randomly start failing.

This makes tests slower, but computers are faster in 2025. If things are really bad, we could refactor to use TestMain and make one certificate rather than generating it on demand for tests, but I suspect this won't be necessary.

Closes #1112.

@fsouza fsouza force-pushed the remove-checked-in-pems branch from cd47e3e to 18f42ee Compare February 18, 2025 16:20
@fsouza fsouza changed the title Generate TLS certificates on demand Generate test TLS certificates on demand Feb 18, 2025
This avoids having pem files that could expire and cause tests to
randomly start failing.

This makes tests slower, but computers are faster in 2025. If things are
really bad, we could refactor to use TestMain and make one certificate
rather than generating it on demand for tests, but I suspect this won't
be necessary.

Closes #1112.
@fsouza fsouza force-pushed the remove-checked-in-pems branch from 18f42ee to 911724f Compare February 18, 2025 16:43
@fsouza fsouza merged commit 911724f into main Feb 18, 2025
23 checks passed
@fsouza fsouza deleted the remove-checked-in-pems branch February 18, 2025 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test will start failing past October 2027
1 participant