File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
tests/templates/kuttl/smoke Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -143,12 +143,3 @@ status:
143143 expectedPods: {{ test_scenario['values'] ['number-of-datanodes'] }}
144144 currentHealthy: {{ test_scenario['values'] ['number-of-datanodes'] }}
145145 disruptionsAllowed: 1
146- ---
147- # This test checks if the containerdebug-state.json file is present and valid
148- apiVersion: kuttl.dev/v1beta1
149- kind: TestAssert
150- timeout: 600
151- commands:
152- - script: kubectl exec -n $NAMESPACE --container namenode hdfs-namenode-default-0 -- cat /stackable/log/containerdebug-state.json | jq --exit-status
153- - script: kubectl exec -n $NAMESPACE --container datanode hdfs-datanode-default-0 -- cat /stackable/log/containerdebug-state.json | jq --exit-status
154- - script: kubectl exec -n $NAMESPACE --container journalnode hdfs-journalnode-default-0 -- cat /stackable/log/containerdebug-state.json | jq --exit-status
Original file line number Diff line number Diff line change 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 namenode hdfs-namenode-default-0 -- cat /stackable/log/containerdebug-state.json | jq --exit-status '"valid JSON"'
8+ - script : kubectl exec -n $NAMESPACE --container datanode hdfs-datanode-default-0 -- cat /stackable/log/containerdebug-state.json | jq --exit-status '"valid JSON"'
9+ - script : kubectl exec -n $NAMESPACE --container journalnode hdfs-journalnode-default-0 -- cat /stackable/log/containerdebug-state.json | jq --exit-status '"valid JSON"'
You can’t perform that action at this time.
0 commit comments