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

[v17] deflake TestListUnifiedResources_WithLogins #49640

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

tigrato
Copy link
Contributor

@tigrato tigrato commented Dec 2, 2024

Backport #49614 to branch/v17

This PR tries to fix the flakiness of the `TestListUnifiedResources_WithLogins` test. The primary issue identified was that the role was first created and then updated via a separate update call. Since the role, by default, grants wildcard access to all labels, the resources were being returned after the role was created but before the cache had synchronized with the updated role event.

As a result, the system failed to return the expected logins, except for the SSH logins, which were created during the initial role creation event.

Close #45086

Signed-off-by: Tiago Silva <[email protected]>
@tigrato tigrato added the no-changelog Indicates that a PR does not require a changelog entry label Dec 2, 2024
@tigrato tigrato added this pull request to the merge queue Dec 2, 2024
Merged via the queue into branch/v17 with commit 253222c Dec 2, 2024
41 of 42 checks passed
@tigrato tigrato deleted the bot/backport-49614-branch/v17 branch December 2, 2024 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport no-changelog Indicates that a PR does not require a changelog entry size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants