Add TODO
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
b880127e72
commit
c3ada38e68
|
@ -109,6 +109,8 @@ func TestWatcherClosedChannel(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestWatcherWithPodWatcher(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)
|
ctx, cancel := context.WithTimeout(context.Background(), time.Second*2)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue