-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(test): ensure that the controller sets rate limit status (#13377)
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.
- Loading branch information
Showing
1 changed file
with
25 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters