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 test for sequential serial number gaps #4874

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

edewata
Copy link
Contributor

@edewata edewata commented Oct 9, 2024

The test for CA with sequential serial numbers has been updated to perform additional enrollments and check the request IDs and cert serial numbers. Ideally the numbers should be contiguous, but currently the cert serial numbers sometimes have gaps. This issue will be fixed separately later.

The test for CA with sequential serial numbers has been updated
to perform additional enrollments and check the request IDs and
cert serial numbers. Ideally the numbers should be contiguous,
but currently the cert serial numbers sometimes have gaps. This
issue will be fixed separately later.
@edewata edewata requested a review from fmarco76 October 9, 2024 14:41
@edewata
Copy link
Contributor Author

edewata commented Oct 9, 2024

@fmarco76 This PR can reproduce the gap with increment=10, but we can change it to something > 10 if necessary.

Copy link

sonarqubecloud bot commented Oct 9, 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

The range of 10 serial is OK. It is the minimum to generate a gap and it is enough for the test.

@edewata
Copy link
Contributor Author

edewata commented Oct 9, 2024

@fmarco76 Thanks!

@edewata edewata merged commit cd30548 into dogtagpki:master Oct 9, 2024
156 of 165 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