Skip to content

Commit 400fb54

Browse files
committed
raising regular Exception 1
Signed-off-by: Katharina Trentau <[email protected]>
1 parent 0dea150 commit 400fb54

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Tests/kaas/k8s-default-storage-class/k8s-default-storage-class-check.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
PVC_NAME = "test-k-pvc"
5050
PV_NAME = "test-k-pv"
5151
POD_NAME = "test-k-pod"
52-
# A list of CSI-Providers that are
52+
# A list of suggested CSI-Providers that work accordingly to the standards
5353
ALLOWED_CSI_PROV = ["cinder", "rookCeph", "longhorn"]
5454

5555

@@ -351,12 +351,15 @@ def main(argv):
351351
logger.debug("check_default_storageclass()")
352352
try:
353353
default_class_name = check_default_storageclass(env.k8s_storage_api)
354+
#raise Exception
354355
except SCSTestException:
355356
raise
356357
except Exception:
357358
env.return_code = 1
358359
logger.debug("check_default_storageclass() failed")
359360
return env.return_code
361+
# logger.debug("check_default_storageclass() failed")
362+
# return 1
360363
env.cleanup = True
361364
try:
362365
env.return_code = create_pvc_pod(k8s_core_api, default_class_name)

0 commit comments

Comments
 (0)