mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 06:27:05 +00:00
Merge pull request #70571 from lichuqiang/provision-test-fix
remove meaningless case in volume binding test
This commit is contained in:
commit
03cbb2c321
@ -715,12 +715,6 @@ func TestVolumeProvision(t *testing.T) {
|
|||||||
boundPvcs: []*testPVC{{"pvc-w-canbind", classWait, ""}},
|
boundPvcs: []*testPVC{{"pvc-w-canbind", classWait, ""}},
|
||||||
provisionedPvcs: []*testPVC{{"pvc-canprovision", classWait, ""}},
|
provisionedPvcs: []*testPVC{{"pvc-canprovision", classWait, ""}},
|
||||||
},
|
},
|
||||||
"one immediate pvc prebound, one wait provisioned": {
|
|
||||||
pod: makePod("pod-i-pvc-prebound-w-provisioned", config.ns, []string{"pvc-i-prebound", "pvc-canprovision"}),
|
|
||||||
pvs: []*testPV{{"pv-i-pvc-prebound", classImmediate, "", node1}},
|
|
||||||
boundPvcs: []*testPVC{{"pvc-i-prebound", classImmediate, "pv-i-pvc-prebound"}},
|
|
||||||
provisionedPvcs: []*testPVC{{"pvc-canprovision", classWait, ""}},
|
|
||||||
},
|
|
||||||
"one immediate pv prebound, one wait provisioned": {
|
"one immediate pv prebound, one wait provisioned": {
|
||||||
pod: makePod("pod-i-pv-prebound-w-provisioned", config.ns, []string{"pvc-i-pv-prebound", "pvc-canprovision"}),
|
pod: makePod("pod-i-pv-prebound-w-provisioned", config.ns, []string{"pvc-i-pv-prebound", "pvc-canprovision"}),
|
||||||
pvs: []*testPV{{"pv-i-prebound", classImmediate, "pvc-i-pv-prebound", node1}},
|
pvs: []*testPV{{"pv-i-prebound", classImmediate, "pvc-i-pv-prebound", node1}},
|
||||||
|
Loading…
Reference in New Issue
Block a user