Skip to content

Commit

Permalink
factor out ctnrdebug test
Browse files Browse the repository at this point in the history
  • Loading branch information
razvan committed Dec 17, 2024
1 parent fa886fa commit afd732a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/templates/kuttl/smoke/30-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,3 @@ status:
expectedPods: 2
currentHealthy: 2
disruptionsAllowed: 1
---
# This test checks if the containerdebug-state.json file is present and valid
apiVersion: kuttl.dev/v1beta1
kind: TestAssert
timeout: 600
commands:
- 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.
7 changes: 7 additions & 0 deletions tests/templates/kuttl/smoke/33-assert.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
# This test checks if the containerdebug-state.json file is present and valid
apiVersion: kuttl.dev/v1beta1
kind: TestAssert
timeout: 600
commands:
- script: kubectl exec -n $NAMESPACE --container nifi test-nifi-node-default-0 -- cat /stackable/log/containerdebug-state.json | jq --exit-status '"valid JSON"'

0 comments on commit afd732a

Please sign in to comment.