forked from spiffe/spire
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix racy manager NotifiesBundleLoaded test (spiffe#4806)
This test is racy because it currently relies on timing of several goroutines and context cancellation. The notifier doing context cancellation doesn't seem to test anything useful. I don't recall why it was even added. Getting rid of the context cancellation and simply asserting that the function returns nil when the notifier returns nil seems good enough. Signed-off-by: Andrew Harding <azdagron@gmail.com>
- Loading branch information
Showing
1 changed file
with
6 additions
and
16 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