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

Update Vault token renewal test to use e2e.GreaterOrEqual #7398

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

fayzal-g
Copy link
Contributor

What this PR does

Updates TestVaultTokenRenewal test to use e2e.GreaterOrEqual instead of e2e.Equal - cortex_vault_auth_success_total was being incremented past the value the equality was looking for, and WaitSumMetric kept looping until timeout.

As cortex_vault_auth_success_total gets updated frequently during token renewal, e2e.GreaterOrEqual is a more appropriate check.

Fixes #7397

Checklist

  • Tests updated.

@fayzal-g fayzal-g requested a review from a team as a code owner February 15, 2024 15:35
@fayzal-g fayzal-g merged commit 89a32fd into main Feb 15, 2024
28 checks passed
@fayzal-g fayzal-g deleted the fix-flaky-vault-test branch February 15, 2024 16:12
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.

TestVaultTokenRenewal is flaky
2 participants