-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(test): reworks k8s envtest resource cleanup
- initial implementation was fetching api resources in the loop causing concurrent map reads and writes and thus flaky tests - continuous fetching is not necessary as before each test we have all resource definitions defined - this change moves the loading to when we create cleaner instance, which is before each test, making it more efficient but most importantly fixing concurrent access issue
- Loading branch information
1 parent
ed468e7
commit 7f9442f
Showing
1 changed file
with
74 additions
and
51 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