mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
e2e: add backend validation for rados namespaced images
added more backend validation for rados namespaced images. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
91c49c14b3
commit
dc38320fad
@ -1183,10 +1183,14 @@ var _ = Describe("RBD", func() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
e2elog.Failf("failed to delete snapshot with error %v", err)
|
e2elog.Failf("failed to delete snapshot with error %v", err)
|
||||||
}
|
}
|
||||||
|
// as snapshot is deleted the image count should be one
|
||||||
|
validateRBDImageCount(f, 1)
|
||||||
|
|
||||||
err = deletePVCAndValidatePV(f.ClientSet, pvc, deployTimeout)
|
err = deletePVCAndValidatePV(f.ClientSet, pvc, deployTimeout)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
e2elog.Failf("failed to delete PVC with error %v", err)
|
e2elog.Failf("failed to delete PVC with error %v", err)
|
||||||
}
|
}
|
||||||
|
validateRBDImageCount(f, 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
updateConfigMap("")
|
updateConfigMap("")
|
||||||
|
Loading…
Reference in New Issue
Block a user