From b9fecc9b21716344f9c6c1c218459bf2c0e234f9 Mon Sep 17 00:00:00 2001 From: Harish P Date: Fri, 20 Dec 2024 13:06:01 +0530 Subject: [PATCH] Initial commit --- .../testfiles/minimal-testfiles/scenarios.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/tests/e2e/testfiles/minimal-testfiles/scenarios.yaml b/tests/e2e/testfiles/minimal-testfiles/scenarios.yaml index 7fe02eb3..c5dbbe7d 100644 --- a/tests/e2e/testfiles/minimal-testfiles/scenarios.yaml +++ b/tests/e2e/testfiles/minimal-testfiles/scenarios.yaml @@ -16,6 +16,7 @@ # cleanup - "Enable forceRemoveDriver on CR [1]" - "Delete custom resource [1]" + - "Validate [powerstore] driver from CR [1] is not installed" - "Restore template [testfiles/powerstore-templates/powerstore-secret-template.yaml] for [pstore]" - "Restore template [testfiles/powerstore-templates/powerstore-storageclass-template.yaml] for [pstore]" customTest: @@ -41,6 +42,8 @@ # cleanup - "Enable forceRemoveDriver on CR [1]" - "Delete custom resource [1]" + - "Validate [powerstore] driver from CR [1] is not installed" + - "Validate [resiliency] module from CR [1] is not installed" - "Restore template [testfiles/powerstore-templates/powerstore-secret-template.yaml] for [pstore]" - "Restore template [testfiles/powerstore-templates/powerstore-storageclass-template.yaml] for [pstore]" customTest: @@ -71,6 +74,7 @@ # cleanup - "Enable forceRemoveDriver on CR [1]" - "Delete custom resource [1]" + - "Validate [powerstore] driver from CR [1] is not installed" - "Restore template [testfiles/powerstore-templates/powerstore-secret-template.yaml] for [pstore]" - "Restore template [testfiles/powerstore-templates/powerstore-storageclass-template.yaml] for [pstore]" @@ -91,6 +95,7 @@ # cleanup - "Enable forceRemoveDriver on CR [1]" - "Delete custom resource [1]" + - "Validate [powerstore] driver from CR [1] is not installed" - "Restore template [testfiles/powerstore-templates/powerstore-secret-template.yaml] for [pstore]" - "Restore template [testfiles/powerstore-templates/powerstore-storageclass-template.yaml] for [pstore]" customTest: @@ -119,6 +124,7 @@ - "Validate custom resource [1]" - "Enable forceRemoveDriver on CR [1]" - "Delete custom resource [1]" + - "Validate [powerstore] driver from CR [1] is not installed" - "Restore template [testfiles/powerstore-templates/powerstore-secret-template.yaml] for [pstore]" - "Restore template [testfiles/powerstore-templates/powerstore-storageclass-template.yaml] for [pstore]" customTest: @@ -142,6 +148,7 @@ # cleanup - "Enable forceRemoveDriver on CR [1]" - "Delete custom resource [1]" + - "Validate [unity] driver from CR [1] is not installed" - "Restore template [testfiles/unity-templates/unity-secret-template.yaml] for [unity]" - "Restore template [testfiles/unity-templates/unity-storageclass-template.yaml] for [unity]" customTest: @@ -170,6 +177,7 @@ - "Validate custom resource [1]" - "Enable forceRemoveDriver on CR [1]" - "Delete custom resource [1]" + - "Validate [unity] driver from CR [1] is not installed" - "Restore template [testfiles/unity-templates/unity-secret-template.yaml] for [unity]" - "Restore template [testfiles/unity-templates/unity-storageclass-template.yaml] for [unity]" customTest: @@ -194,6 +202,7 @@ # cleanup - "Enable forceRemoveDriver on CR [1]" - "Delete custom resource [1]" + - "Validate [unity] driver from CR [1] is not installed" - "Restore template [testfiles/unity-templates/unity-secret-template.yaml] for [unity]" - "Restore template [testfiles/unity-templates/unity-storageclass-template.yaml] for [unity]" customTest: @@ -218,6 +227,7 @@ # cleanup - "Enable forceRemoveDriver on CR [1]" - "Delete custom resource [1]" + - "Validate [powerflex] driver from CR [1] is not installed" - "Restore template [testfiles/powerflex-templates/powerflex-secret-template.yaml] for [pflex]" - "Restore template [testfiles/powerflex-templates/powerflex-storageclass-template.yaml] for [pflex]" customTest: @@ -242,6 +252,7 @@ # cleanup - "Enable forceRemoveDriver on CR [1]" - "Delete custom resource [1]" + - "Validate [powerflex] driver from CR [1] is not installed" - "Restore template [testfiles/powerflex-templates/powerflex-secret-template.yaml] for [pflex]" - "Restore template [testfiles/powerflex-templates/powerflex-storageclass-template.yaml] for [pflex]" customTest: @@ -254,7 +265,6 @@ - "testfiles/minimal-testfiles/storage_csm_powerflex_with_false_forceRemoveDriver.yaml" tags: - "powerflex" - steps: - "Given an environment with k8s or openshift, and CSM operator installed" - "Create storageclass with name [op-e2e-vxflexos] and template [testfiles/powerflex-templates/powerflex-storageclass-template.yaml] for [pflex]" @@ -297,6 +307,8 @@ # cleanup - "Enable forceRemoveDriver on CR [1]" - "Delete custom resource [1]" + - "Validate [powerflex] driver from CR [1] is not installed" + - "Validate [resiliency] module from CR [1] is not installed" customTest: - name: CustomTest run: @@ -324,6 +336,7 @@ # cleanup - "Enable forceRemoveDriver on CR [1]" - "Delete custom resource [1]" + - "Validate [powerflex] driver from CR [1] is not installed" - scenario: "Install PowerFlex Driver (Minimal, With Authorization V2)" paths: - "testfiles/authorization-templates/storage_csm_authorization_v2_proxy_server.yaml"