Skip to content

Commit

Permalink
Merge pull request #8970 from jilju/fix_clone_tests_hci
Browse files Browse the repository at this point in the history
Fix clone fixture error for HCI Provider Client setup
  • Loading branch information
vavuthu authored Dec 1, 2023
2 parents 221b437 + 1f839d2 commit e73ff0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -4452,10 +4452,10 @@ def factory(
pvc_obj.provisioner in constants.OCS_PROVISIONERS
), f"Unknown provisioner in PVC {pvc_obj.name}"
no_interface = False
if pvc_obj.provisioner == "openshift-storage.rbd.csi.ceph.com":
if "rbd.csi.ceph.com" in pvc_obj.provisioner:
clone_yaml = constants.CSI_RBD_PVC_CLONE_YAML
interface = constants.CEPHBLOCKPOOL
elif pvc_obj.provisioner == "openshift-storage.cephfs.csi.ceph.com":
elif "cephfs.csi.ceph.com" in pvc_obj.provisioner:
clone_yaml = constants.CSI_CEPHFS_PVC_CLONE_YAML
interface = constants.CEPHFILESYSTEM
elif pvc_obj.provisioner in [
Expand Down

0 comments on commit e73ff0c

Please sign in to comment.