Add E2E for rbd static PVC

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna
2020-01-20 12:41:21 +05:30
committed by mergify[bot]
parent 9f15dded6d
commit 1ec2bc47e3
2 changed files with 174 additions and 1 deletions

View File

@ -339,6 +339,20 @@ var _ = Describe("RBD", func() {
}
})
By("validate RBD static FileSystem PVC", func() {
err := validateRBDStaticPV(f, appPath, false)
if err != nil {
Fail(err.Error())
}
})
By("validate RBD static Block PVC", func() {
err := validateRBDStaticPV(f, rawAppPath, true)
if err != nil {
Fail(err.Error())
}
})
// Make sure this should be last testcase in this file, because
// it deletes pool
By("Create a PVC and Delete PVC when backend pool deleted", func() {
@ -349,5 +363,4 @@ var _ = Describe("RBD", func() {
})
})
})
})