Skip to content

Commit d609bfd

Browse files
authored
Ensure storage test checks correct StatefulSet (#537)
To help prevent occasional hangs
1 parent bf50a53 commit d609bfd

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

bundle/tests/scorecard/kuttl/storage/03-assert.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ apiVersion: apps/v1
66
kind: StatefulSet
77
metadata:
88
name: storage-rc
9+
annotations:
10+
testStep: storage-03
911
status:
1012
replicas: 1
1113
readyReplicas: 1

bundle/tests/scorecard/kuttl/storage/03-runtime-storage-class-name.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ apiVersion: rc.app.stacks/v1
44
kind: RuntimeComponent
55
metadata:
66
name: storage-rc
7+
annotations:
8+
testStep: storage-03
79
spec:
810
# Add fields here
911
applicationImage: registry.k8s.io/pause:3.2
@@ -12,4 +14,4 @@ spec:
1214
storage:
1315
size: "10Mi"
1416
mountPath: "/mnt/data"
15-
className: rook-cephfs
17+
className: rook-cephfs

0 commit comments

Comments
 (0)