Skip to content

Commit

Permalink
Changes to existing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
harshitap26 committed Sep 26, 2024
1 parent 587f28b commit f1128dc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
9 changes: 9 additions & 0 deletions tests/e2e/testfiles/scenarios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1728,6 +1728,8 @@
- "resiliency"
steps:
- "Given an environment with k8s or openshift, and CSM operator installed"
- "Create storageclass with name [op-e2e-pmax] and template [testfiles/powermax-templates/powermax-storageclass-template.yaml] for [pmax]"
- "Set up creds with template [testfiles/powermax-templates/powermax-secret-template.yaml] for [pmaxCreds]"
- "Apply custom resource [1]"
- "Validate custom resource [1]"
- "Validate [powermax] driver from CR [1] is installed"
Expand All @@ -1738,6 +1740,9 @@
# cleanup
- "Enable forceRemoveDriver on CR [1]"
- "Delete custom resource [1]"
- "Restore template [testfiles/powermax-templates/powermax-storageclass-template.yaml] for [pmax]"
- "Restore template [testfiles/powermax-templates/powermax-secret-template.yaml] for [pmaxCreds]"

- scenario: "Install Powermax Driver(With Resiliency), Disable Resiliency module"
paths:
- "testfiles/storage_csm_powermax_resiliency.yaml"
Expand All @@ -1746,6 +1751,8 @@
- "resiliency"
steps:
- "Given an environment with k8s or openshift, and CSM operator installed"
- "Create storageclass with name [op-e2e-pmax] and template [testfiles/powermax-templates/powermax-storageclass-template.yaml] for [pmax]"
- "Set up creds with template [testfiles/powermax-templates/powermax-secret-template.yaml] for [pmaxCreds]"
- "Apply custom resource [1]"
- "Validate custom resource [1]"
- "Validate [powermax] driver from CR [1] is installed"
Expand All @@ -1756,3 +1763,5 @@
# cleanup
- "Enable forceRemoveDriver on CR [1]"
- "Delete custom resource [1]"
- "Restore template [testfiles/powermax-templates/powermax-storageclass-template.yaml] for [pmax]"
- "Restore template [testfiles/powermax-templates/powermax-secret-template.yaml] for [pmaxCreds]"
16 changes: 8 additions & 8 deletions tests/e2e/testfiles/storage_csm_powermax_resiliency.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,22 +210,22 @@ spec:
sideCars:
# 'pmax' represents a string prepended to each volume created by the CSI driver
- name: provisioner
image: registry.k8s.io/sig-storage/csi-provisioner:v4.0.0
args: ["--volume-name-prefix=pmax"]
image: registry.k8s.io/sig-storage/csi-provisioner:v5.0.1
args: [ "--volume-name-prefix=pmax" ]
- name: attacher
image: registry.k8s.io/sig-storage/csi-attacher:v4.5.0
image: registry.k8s.io/sig-storage/csi-attacher:v4.6.1
- name: registrar
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.0
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.1
- name: resizer
image: registry.k8s.io/sig-storage/csi-resizer:v1.10.0
image: registry.k8s.io/sig-storage/csi-resizer:v1.11.1
- name: snapshotter
image: registry.k8s.io/sig-storage/csi-snapshotter:v7.0.1
image: registry.k8s.io/sig-storage/csi-snapshotter:v8.0.1
- name: csi-metadata-retriever
image: dellemc/csi-metadata-retriever:v1.7.3
image: dellemc/csi-metadata-retriever:v1.8.0
# health monitor is disabled by default, refer to driver documentation before enabling it
- name: external-health-monitor
enabled: false
args: ["--monitor-interval=60s"]
args: [ "--monitor-interval=60s" ]
image: registry.k8s.io/sig-storage/csi-external-health-monitor-controller:v0.12.1
# Uncomment the following to configure how often external-provisioner polls the driver to detect changed capacity
# Configure only when the storageCapacity is set as "true"
Expand Down

0 comments on commit f1128dc

Please sign in to comment.