Skip to content

Commit f2a75a1

Browse files
authored
fix(test): factor out containerdebug test and reduce noise (#902)
factor out ctnrdebug test
1 parent 646d08e commit f2a75a1

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

tests/templates/kuttl/smoke/10-assert.yaml.j2

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,3 @@ status:
8383
expectedPods: 3
8484
currentHealthy: 3
8585
disruptionsAllowed: 1
86-
---
87-
# This test checks if the containerdebug-state.json file is present and valid
88-
apiVersion: kuttl.dev/v1beta1
89-
kind: TestAssert
90-
timeout: 120
91-
commands:
92-
- script: kubectl exec -n $NAMESPACE --container zookeeper test-zk-server-primary-0 -- cat /stackable/log/containerdebug-state.json | jq --exit-status
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
# This test checks if the containerdebug-state.json file is present and valid
3+
apiVersion: kuttl.dev/v1beta1
4+
kind: TestAssert
5+
timeout: 120
6+
commands:
7+
- script: kubectl exec -n $NAMESPACE --container zookeeper test-zk-server-primary-0 -- cat /stackable/log/containerdebug-state.json | jq --exit-status '"valid JSON"'

0 commit comments

Comments
 (0)