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

Improve clustermesh's users management test reliability #24917

Merged
merged 1 commit into from Apr 19, 2023

Conversation

giorio94
Copy link
Member

Currently, the users management test uses a "sleep" with an hard-coded (low) duration to wait for the update events to be triggered after a file update. To improve reliability, let's switch to use the Eventually helper, hence retrying multiple times until the condition is satisfied, rather than waiting for a fixed amount of time.

Fixes: #24653

Currently, the users management test uses a "sleep" with an hard-coded
(low) duration to wait for the update events to be triggered after a
file update. To improve reliability, let's switch to use the Eventually
helper, hence retrying multiple times until the condition is satisfied,
rather than waiting for a fixed amount of time.

Fixes: 60f94e4 ("clustermesh-apiserver: implement users management for remote clusters")
Signed-off-by: Marco Iorio <marco.iorio@isovalent.com>
@giorio94 giorio94 added area/CI Continuous Integration testing issue or flake area/clustermesh Relates to multi-cluster routing functionality in Cilium. release-note/misc This PR makes changes that have no direct user impact. ci/flake This is a known failure that occurs in the tree. Please investigate me! labels Apr 17, 2023
@giorio94 giorio94 requested a review from a team as a code owner April 17, 2023 07:57
@giorio94
Copy link
Member Author

Marking as ready-to-merge, since reviews are in, and the integration tests passed (this PR only modifies one integration test, hence running the additional tests is superfluous).

@giorio94 giorio94 added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Apr 18, 2023
@ldelossa ldelossa merged commit 81806da into cilium:main Apr 19, 2023
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI Continuous Integration testing issue or flake area/clustermesh Relates to multi-cluster routing functionality in Cilium. ci/flake This is a known failure that occurs in the tree. Please investigate me! ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI: TestUsersManagement in clustermesh-apiserver tests fail with incorrect number of users
3 participants