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

[cleanup] Consolidate certs in broker (and some proxy) tests #20353

Merged
merged 14 commits into from
May 19, 2023

Conversation

michaeljmarshall
Copy link
Member

Motivation

This PR builds on some of my recent changes here:

This PR removes several TLS certs that are unnecessary and replaces them with ones already created in the tests/certificate-authority directory.

The goal is to simplify our test framework so that future updates to certificates are easy.

Modifications

  • Update several tests to use the tests/certificate-authority certs.
  • Update the way that testWebserviceServiceTls configures the HTTP client for TLS and add some requirements on the broker to ensure that the client is connecting and providing TLS certs.
  • Remove the unused certs

Verifying this change

The change is fairly straight forward and the fact that the tests pass is key.

Documentation

  • doc-not-needed

Matching PR in forked repository

PR in forked repository: michaeljmarshall#50

@michaeljmarshall michaeljmarshall added area/test type/cleanup Code or doc cleanups e.g. remove the outdated documentation or remove the code no longer in use ready-to-test labels May 19, 2023
@michaeljmarshall michaeljmarshall added this to the 3.1.0 milestone May 19, 2023
@michaeljmarshall michaeljmarshall self-assigned this May 19, 2023
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label May 19, 2023
Copy link
Member

@lhotari lhotari left a comment

Choose a reason for hiding this comment

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

LGTM

@lhotari lhotari merged commit d565c95 into apache:master May 19, 2023
43 checks passed
@michaeljmarshall michaeljmarshall deleted the consolidate-certs-in-tests branch May 19, 2023 16:23
lhotari pushed a commit that referenced this pull request Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/test cherry-picked/branch-3.0 cherry-picked/branch-3.1 doc-not-needed Your PR changes do not impact docs ready-to-test release/3.0.3 release/3.1.3 type/cleanup Code or doc cleanups e.g. remove the outdated documentation or remove the code no longer in use
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants