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

Remove TLS key gen from networking tests #2596

Merged
merged 3 commits into from
Jan 9, 2024

Conversation

StephenButtolph
Copy link
Contributor

Why this should be merged

Currently RSA keygen can take so long that CI occasionally flakes. This removes the key generation for the first 3 certificates (which is all of the certs we currently use).

How this works

Hardcodes 3 test certificates.

How this was tested

  • CI

@StephenButtolph StephenButtolph added testing This primarily focuses on testing networking This involves networking labels Jan 9, 2024
@StephenButtolph StephenButtolph added this to the v1.10.18 milestone Jan 9, 2024
@StephenButtolph StephenButtolph self-assigned this Jan 9, 2024
if err != nil {
panic(err)
}
tlsCerts = []*tls.Certificate{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed that we usually use 2-3 certs in our tests.

@StephenButtolph StephenButtolph added this pull request to the merge queue Jan 9, 2024
Merged via the queue into dev with commit 718e306 Jan 9, 2024
17 checks passed
@StephenButtolph StephenButtolph deleted the remove-test-tls-key-gen branch January 9, 2024 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
networking This involves networking testing This primarily focuses on testing
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants