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:
Madhu Rajanna 2020-09-22 11:14:21 +05:30 committed by mergify[bot]
parent 91c49c14b3
commit dc38320fad

View File

@ -1183,10 +1183,14 @@ var _ = Describe("RBD", func() {
if err != nil {
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)
if err != nil {
e2elog.Failf("failed to delete PVC with error %v", err)
}
validateRBDImageCount(f, 0)
}
updateConfigMap("")