-
Notifications
You must be signed in to change notification settings - Fork 780
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix defers and goroutines in tests (#1595)
Many of our tests use goroutines and defer statements - sometimes inconsistently or incorrectly. This PR fixes such uses, either resolving incorrect uses of asynchronous code in tests or moving to using t.Cleanup() instead of defer. * Fix defers and goroutines in tests Signed-off-by: Will Beason <willbeason@google.com> * Fix logger Signed-off-by: Will Beason <willbeason@google.com> * Clean up environment variables Signed-off-by: Will Beason <willbeason@google.com> * Standardize stopping manager Signed-off-by: Will Beason <willbeason@google.com> * Revert changes to pkg/controller/config There's something weird going on in this package, but I'm not going to track it down in this PR. Signed-off-by: Will Beason <willbeason@google.com> * Resolve PR comments Signed-off-by: Will Beason <willbeason@google.com> * Fix test failure message Signed-off-by: Will Beason <willbeason@google.com> * Work on PR comments Signed-off-by: Will Beason <willbeason@google.com> * Add warning to avoid DeleteObject Signed-off-by: Will Beason <willbeason@google.com> * Fix merge conflicts Signed-off-by: Will Beason <willbeason@google.com>
- Loading branch information
Will Beason
authored
Oct 26, 2021
1 parent
e55aa36
commit 9fd8514
Showing
29 changed files
with
429 additions
and
408 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
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
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
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
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
Oops, something went wrong.