Merge pull request #127493 from p0lyn0mial/upstream-deflake-cacher-dont-accept-requests
storage/cacher/cacher_whitebox_test:deflake TestCacherDontAcceptRequestsStopped when ResilientWatchCacheInitialization is off Kubernetes-commit: 21f54c3ca1ac87611e101f46d8b05682f51efbee
This commit is contained in:
commit
7d77d3c2dd
|
|
@ -866,8 +866,8 @@ func TestCacherDontAcceptRequestsStopped(t *testing.T) {
|
||||||
},
|
},
|
||||||
}, listResult)
|
}, listResult)
|
||||||
if !utilfeature.DefaultFeatureGate.Enabled(features.ResilientWatchCacheInitialization) {
|
if !utilfeature.DefaultFeatureGate.Enabled(features.ResilientWatchCacheInitialization) {
|
||||||
if err == nil {
|
if err != nil {
|
||||||
t.Fatalf("Success to create GetList: %v", err)
|
t.Fatalf("Failed to create GetList: %v", err)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue