Add TODO
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Rob Watson 2022-06-21 20:49:39 +02:00
parent b880127e72
commit c3ada38e68

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