remove duplicated test case of pvc not found

This commit is contained in:
saza-ku 2025-01-20 01:52:35 +09:00
parent ecbe8319f4
commit e26fb1c393

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,