diff --git a/pkg/storage/testing/utils.go b/pkg/storage/testing/utils.go index 5564f3c86..e30f08618 100644 --- a/pkg/storage/testing/utils.go +++ b/pkg/storage/testing/utils.go @@ -197,7 +197,8 @@ func testCheckNoMoreResults(t *testing.T, w watch.Interface) { select { case e := <-w.ResultChan(): t.Errorf("Unexpected: %#v event received, expected no events", e) - case <-time.After(time.Second): + // We consciously make the timeout short here to speed up tests. + case <-time.After(100 * time.Millisecond): return } }