Merge pull request #70571 from lichuqiang/provision-test-fix

remove meaningless case in volume binding test
This commit is contained in:
k8s-ci-robot 2018-11-02 18:01:48 -07:00 committed by GitHub
commit 03cbb2c321
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -715,12 +715,6 @@ func TestVolumeProvision(t *testing.T) {
boundPvcs: []*testPVC{{"pvc-w-canbind", 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": {
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}},