diff --git a/automation/test.sh b/automation/test.sh index 46956d54..bb3d166d 100755 --- a/automation/test.sh +++ b/automation/test.sh @@ -74,7 +74,7 @@ export CDI_VERSION=$(latest_version "containerized-data-importer") # switch to faster storage class for widows tests (slower storage class is causing timeouts due # to not able to copy whole windows disk into cluster) -if [[ ! "$(oc get storageclass | grep -q 'ssd-csi (default)')" ]] && [[ $TARGET =~ windows.* ]]; then +if [[ ! "$(oc get storageclass | grep -q 'ssd-csi (default)')" ]] ; then oc annotate storageclass ssd-csi storageclass.kubernetes.io/is-default-class=true --overwrite oc annotate storageclass standard-csi storageclass.kubernetes.io/is-default-class- --overwrite fi