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

Fix flaky CustomCaST.testReplacingCustomClusterKeyPairToInvokeRenewalProcess system test #10414

Conversation

scholzj
Copy link
Member

@scholzj scholzj commented Aug 2, 2024

Type of change

  • Bugfix

Description

The CustomCaST.testReplacingCustomClusterKeyPairToInvokeRenewalProcess seems to be very flaky in KRaft mode. This is because the annotation for the manual rolling update of the broker StrimziPodSet resources is done right after the manual rolling update of the controllers and that makes it very likely to be overwritten right away when the broker pod set is patched.

This PR tries to set both annotations right at the beginning to avoid this race condition. This should also speed up the test as it will not need to wait for another reconciliation.

Checklist

  • Make sure all tests pass

…Process system test

Signed-off-by: Jakub Scholz <www@scholzj.com>
@scholzj scholzj added this to the 0.43.0 milestone Aug 2, 2024
@scholzj scholzj requested a review from a team August 2, 2024 15:07
@scholzj
Copy link
Member Author

scholzj commented Aug 2, 2024

/azp run regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@scholzj
Copy link
Member Author

scholzj commented Aug 2, 2024

/azp run kraft-regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@scholzj
Copy link
Member Author

scholzj commented Aug 2, 2024

/azp run regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@scholzj scholzj merged commit 66ef8d5 into strimzi:main Aug 3, 2024
29 checks passed
@scholzj scholzj deleted the fix-race-condition-in-CustomCaST-testReplacingCustomClusterKeyPairToInvokeRenewalProcess branch August 3, 2024 15:07
@scholzj
Copy link
Member Author

scholzj commented Aug 6, 2024

/azp run regression

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.

4 participants