mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
e2e: validate images in trash for rados namespace
added validation check to verify stale images in trash for the rados namespace testing. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
8f185bf7b2
commit
080b251850
@ -881,7 +881,7 @@ func listRBDImagesInTrash(f *framework.Framework, poolName string) ([]trashInfo,
|
||||
var trashInfos []trashInfo
|
||||
|
||||
stdout, stdErr, err := execCommandInToolBoxPod(f,
|
||||
fmt.Sprintf("rbd trash ls --format=json %s", poolName), rookNamespace)
|
||||
fmt.Sprintf("rbd trash ls --format=json %s", rbdOptions(poolName)), rookNamespace)
|
||||
if err != nil {
|
||||
return trashInfos, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user