Merge pull request #129697 from saza-ku/remove-pvc-not-found

chore: remove duplicated test case of `pvc not found`
This commit is contained in:
Kubernetes Prow Robot 2025-01-24 09:35:21 -08:00 committed by GitHub
commit 2056dbca18
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -238,20 +238,6 @@ func TestVolumeBinding(t *testing.T) {
},
wantPreScoreStatus: framework.NewStatus(framework.Skip),
},
{
name: "pvc not found",
pod: makePod("pod-a").withPVCVolume("pvc-a", "").Pod,
nodes: []*v1.Node{
makeNode("node-a").Node,
},
wantPreFilterStatus: framework.NewStatus(framework.UnschedulableAndUnresolvable, `persistentvolumeclaim "pvc-a" not found`),
wantFilterStatus: []*framework.Status{
nil,
},
wantScores: []int64{
0,
},
},
{
name: "pv not found",
pod: makePod("pod-a").withPVCVolume("pvc-a", "").Pod,