mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-14 06:15:45 +00:00
Merge pull request #123925 from p0lyn0mial/upstream-cacher-decrease-watch-not-hanging-on-startup-failure
apiserver/storage/cacher: decrease running time of TestWatchNotHangingOnStartupFailure
This commit is contained in:
commit
d1a2a134c5
@ -464,7 +464,7 @@ func TestWatchNotHangingOnStartupFailure(t *testing.T) {
|
||||
// terminate instead of hanging forever.
|
||||
go func() {
|
||||
defer cancel()
|
||||
cacher.clock.Sleep(5 * time.Second)
|
||||
cacher.clock.Sleep(1 * time.Second)
|
||||
}()
|
||||
|
||||
// Watch hangs waiting on watchcache being initialized.
|
||||
|
Loading…
Reference in New Issue
Block a user