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(test): ensure that the controller sets rate limit status #13377

Merged
merged 3 commits into from
Nov 22, 2024

Conversation

olix0r
Copy link
Member

@olix0r olix0r commented Nov 22, 2024

The http_local_rate_limit_policy test creates a resource with a status already hydrated, but status setting is a job of the controller.

This change updates the test to create a resource without a status and then to wait for the status to be set properly.

This will hopefully help us to avoid race conditions in this test whereby the API lookup can occur before the controller observes the resource creation.

The http_local_rate_limit_policy test creates a resource with a status already
hidrated, but status setting is a job of the controller.

This change updates the test to create a resource without a status and then to
wait for the status to be set properly.

This will hopefully help us to avoid race conditions in this test whereby the
API lookup can occur before the controller observes the resource creation.
@olix0r olix0r requested a review from a team as a code owner November 22, 2024 20:51
@olix0r olix0r enabled auto-merge (squash) November 22, 2024 20:52
@olix0r olix0r merged commit abfdd69 into main Nov 22, 2024
42 checks passed
@olix0r olix0r deleted the ver/test-wait-ratelimit branch November 22, 2024 21:32
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