Add TODO
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Rob Watson 2022-06-21 20:49:39 +02:00
parent b880127e72
commit c3ada38e68
1 changed files with 2 additions and 0 deletions

View File

@ -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()