mirror of https://github.com/k3s-io/k3s
Merge pull request #56909 from dashpole/fix_local_storage_test
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. [Test Fix] Fix Broken LocalStorageEviction test **What this PR does / why we need it**: In #56643, I added a new test case, but did not rename the pod. The test failed because the new pod can not be created since there is a name collision. It fixes these new test failures: https://k8s-testgrid.appspot.com/sig-node-kubelet#kubelet-flaky-gce-e2e&include-filter-by-regex=LocalStorageCapacityIsolationEviction **Special notes for your reviewer**: I tested it this time **Release note**: ```release-note NONE ``` /assign @yujuhong /sig node /kind bug /priority critical-urgentpull/6/head
commit
7b0e6b7f14
|
@ -227,7 +227,7 @@ var _ = framework.KubeDescribe("LocalStorageCapacityIsolationEviction [Slow] [Se
|
|||
},
|
||||
{
|
||||
evictionPriority: 0, // This pod should not be evicted because it uses less than its limit
|
||||
pod: diskConsumingPod("emptydir-disk-below-sizelimit", useUnderLimit, nil, v1.ResourceRequirements{Limits: containerLimit}),
|
||||
pod: diskConsumingPod("container-disk-below-sizelimit", useUnderLimit, nil, v1.ResourceRequirements{Limits: containerLimit}),
|
||||
},
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue