mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 23:15:14 +00:00
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:
commit
2056dbca18
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user