storage/cacher/cacher_whitebox_test:deflake TestCacherDontAcceptRequestsStopped when ResilientWatchCacheInitialization is off
Kubernetes-commit: 5b7faca6b66dc0664f36c611867f5799377b0514
This commit is contained in:
parent
1a9bf77ab1
commit
87a5cdebbc
|
|
@ -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