This commit is contained in:
parent
b880127e72
commit
c3ada38e68
@ -109,6 +109,8 @@ func TestWatcherClosedChannel(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestWatcherWithPodWatcher(t *testing.T) {
|
||||
// TODO: use watcher.Close() to clean up watcher instead of relying on
|
||||
// context, which leads to occasional race conditions in tests.
|
||||
ctx, cancel := context.WithTimeout(context.Background(), time.Second*2)
|
||||
defer cancel()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user