Skip to content

Commit afd732a

Browse files
committed
factor out ctnrdebug test
1 parent fa886fa commit afd732a

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

tests/templates/kuttl/smoke/30-assert.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,3 @@ status:
2323
expectedPods: 2
2424
currentHealthy: 2
2525
disruptionsAllowed: 1
26-
---
27-
# This test checks if the containerdebug-state.json file is present and valid
28-
apiVersion: kuttl.dev/v1beta1
29-
kind: TestAssert
30-
timeout: 600
31-
commands:
32-
- script: kubectl exec -n $NAMESPACE --container nifi test-nifi-node-default-0 -- cat /stackable/log/containerdebug-state.json | jq --exit-status
File renamed without changes.
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: 600
6+
commands:
7+
- script: kubectl exec -n $NAMESPACE --container nifi test-nifi-node-default-0 -- cat /stackable/log/containerdebug-state.json | jq --exit-status '"valid JSON"'

0 commit comments

Comments
 (0)