From f3d18e1b4feba894e5d550e23e9e6a929ab64415 Mon Sep 17 00:00:00 2001 From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com> Date: Thu, 16 Nov 2023 15:15:42 +0100 Subject: [PATCH] Do not test for storage status (#426) Not all storage providers honor the storage sizes. GKE and CRC always provisionat least 10Gi and 30Gi respectively. --- tests/templates/kuttl/smoke/30-assert.yaml.j2 | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/tests/templates/kuttl/smoke/30-assert.yaml.j2 b/tests/templates/kuttl/smoke/30-assert.yaml.j2 index 15c2ad33..0b8dffa2 100644 --- a/tests/templates/kuttl/smoke/30-assert.yaml.j2 +++ b/tests/templates/kuttl/smoke/30-assert.yaml.j2 @@ -81,33 +81,39 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: hdd-hdfs-datanode-default-0 +spec: + resources: + requests: + storage: 2Gi status: accessModes: - ReadWriteOnce - capacity: - storage: 2Gi phase: Bound --- apiVersion: v1 kind: PersistentVolumeClaim metadata: name: hdd-1-hdfs-datanode-default-0 +spec: + resources: + requests: + storage: 2Gi status: accessModes: - ReadWriteOnce - capacity: - storage: 2Gi phase: Bound --- apiVersion: v1 kind: PersistentVolumeClaim metadata: name: ssd-hdfs-datanode-default-0 +spec: + resources: + requests: + storage: 1Gi status: accessModes: - ReadWriteOnce - capacity: - storage: 1Gi phase: Bound {% endif %} ---