mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-26 08:10:20 +00:00
e2e: remove the generic ephemeral volume support check
at present we have the check for kube version 1.21 in the tests which no longer required as it falls under supported kubernetes versions with the driver. Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
parent
7688306f87
commit
2cb52d6535
@ -298,8 +298,6 @@ var _ = Describe(cephfsType, func() {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
By("verify generic ephemeral volume support", func() {
|
By("verify generic ephemeral volume support", func() {
|
||||||
// generic ephemeral volume support is beta since v1.21.
|
|
||||||
if k8sVersionGreaterEquals(f.ClientSet, 1, 21) {
|
|
||||||
err := createCephfsStorageClass(f.ClientSet, f, true, nil)
|
err := createCephfsStorageClass(f.ClientSet, f, true, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
e2elog.Failf("failed to create CephFS storageclass: %v", err)
|
e2elog.Failf("failed to create CephFS storageclass: %v", err)
|
||||||
@ -327,7 +325,6 @@ var _ = Describe(cephfsType, func() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
e2elog.Failf("failed to delete CephFS storageclass: %v", err)
|
e2elog.Failf("failed to delete CephFS storageclass: %v", err)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
By("verify RWOP volume support", func() {
|
By("verify RWOP volume support", func() {
|
||||||
|
@ -715,8 +715,6 @@ var _ = Describe("RBD", func() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
By("verify generic ephemeral volume support", func() {
|
By("verify generic ephemeral volume support", func() {
|
||||||
// generic ephemeral volume support is supported from 1.21
|
|
||||||
if k8sVersionGreaterEquals(f.ClientSet, 1, 21) {
|
|
||||||
// create application
|
// create application
|
||||||
app, err := loadApp(appEphemeralPath)
|
app, err := loadApp(appEphemeralPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -742,7 +740,6 @@ var _ = Describe("RBD", func() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
e2elog.Failf("failed to validate rbd images in pool %s trash: %v", defaultRBDPool, err)
|
e2elog.Failf("failed to validate rbd images in pool %s trash: %v", defaultRBDPool, err)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
By("validate RBD migration PVC", func() {
|
By("validate RBD migration PVC", func() {
|
||||||
|
Loading…
Reference in New Issue
Block a user