mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-27 08:40:23 +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>
(cherry picked from commit dc38320fad
)
This commit is contained in:
parent
8dc3f51350
commit
4935bc3ead
@ -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("")
|
||||
|
Loading…
Reference in New Issue
Block a user