diff --git a/tests/functional/pv/pv_services/test_rbd_image_metadata.py b/tests/functional/pv/pv_services/test_rbd_image_metadata.py index e4f1d02fcc5..dbfae973897 100644 --- a/tests/functional/pv/pv_services/test_rbd_image_metadata.py +++ b/tests/functional/pv/pv_services/test_rbd_image_metadata.py @@ -55,7 +55,9 @@ def test_rbd_image_metadata( rbd_images.append(snap_image_name) # restore the snapshot - restored_pvc = snapshot_restore_factory(snapshot_obj=snap_obj, timeout=600) + restored_pvc = snapshot_restore_factory( + snapshot_obj=snap_obj, volume_mode=pvc_obj.get_pvc_vol_mode, timeout=600 + ) log.info(f"restored the snapshot {restored_pvc.name} created!") # create a clone of the PVC