Skip to content

Commit ed9c376

Browse files
committed
factor out ctnrdebug test
1 parent d7cada5 commit ed9c376

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,3 @@ status:
3535
expectedPods: 1
3636
currentHealthy: 1
3737
disruptionsAllowed: 1
38-
---
39-
# This test checks if the containerdebug-state.json file is present and valid
40-
apiVersion: kuttl.dev/v1beta1
41-
kind: TestAssert
42-
timeout: 60
43-
commands:
44-
- script: kubectl exec -n $NAMESPACE --container hive hive-metastore-default-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: 60
6+
commands:
7+
- script: kubectl exec -n $NAMESPACE --container hive hive-metastore-default-0 -- cat /stackable/log/containerdebug-state.json | jq --exit-status '"valid JSON"'

0 commit comments

Comments
 (0)