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

Add tests for adding multiple LWCAs #4679

Merged
merged 1 commit into from
Mar 1, 2024
Merged

Conversation

edewata
Copy link
Contributor

@edewata edewata commented Feb 28, 2024

New tests have been added to validate adding multiple LWCAs in plain PKI environment and in IPA environment.

The CASigningUnit has been updated to no longer log an exception if the cert or key is missing since in LWCA case the exception is used as a mechanism to trigger the key retriever so it is actually not a problem. Instead, the exception will only be logged by other code where the exception indicates a real problem.

New tests have been added to validate adding multiple LWCAs in
plain PKI environment and in IPA environment.

The CASigningUnit has been updated to no longer log an exception
if the cert or key is missing since in LWCA case the exception is
used as a mechanism to trigger the key retriever so it is actually
not a problem. Instead, the exception will only be logged by other
code where the exception indicates a real problem.
Copy link

sonarcloud bot commented Feb 29, 2024

Copy link
Member

@fmarco76 fmarco76 left a comment

Choose a reason for hiding this comment

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

LGTM

There are 3 failing jobs but I do not see relations with this PR. We can investigate if the they keep failing in other PRs.

@edewata
Copy link
Contributor Author

edewata commented Mar 1, 2024

@fmarco76 Thanks! Ideally this test should reproduce issue #4677 but right now it doesn't, so I'll be making some additional changes later.

@edewata edewata merged commit 0f12ab6 into dogtagpki:master Mar 1, 2024
132 of 135 checks passed
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.

2 participants