Increase API watch test timeout to avoid flakes.

This commit is contained in:
Ryan Hitchman 2018-03-21 13:26:49 -07:00
parent e40ffd7197
commit f7da809209

View File

@ -191,7 +191,7 @@ func expectNoEvent(w watch.Interface, eventType watch.EventType, object runtime.
}
func waitForEvent(w watch.Interface, expectType watch.EventType, expectObject runtime.Object) (watch.Event, bool) {
stopTimer := time.NewTimer(10 * time.Second)
stopTimer := time.NewTimer(1 * time.Minute)
for {
select {
case actual := <-w.ResultChan():