Skip to content

fix(test): ensure that the controller sets rate limit status#13377

Merged
olix0r merged 3 commits intomainfrom
ver/test-wait-ratelimit
Nov 22, 2024
Merged

fix(test): ensure that the controller sets rate limit status#13377
olix0r merged 3 commits intomainfrom
ver/test-wait-ratelimit

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
@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