mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 05:36:12 +00:00
storage/cacher/cacher_whitebox_test:deflake TestCacherDontAcceptRequestsStopped when ResilientWatchCacheInitialization is off
This commit is contained in:
@@ -861,8 +861,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 {
|
||||||
|
Reference in New Issue
Block a user