mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-13 21:25:09 +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)
|
||||
if !utilfeature.DefaultFeatureGate.Enabled(features.ResilientWatchCacheInitialization) {
|
||||
if err == nil {
|
||||
t.Fatalf("Success to create GetList: %v", err)
|
||||
if err != nil {
|
||||
t.Fatalf("Failed to create GetList: %v", err)
|
||||
}
|
||||
} else {
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user