Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions tests/templates/kuttl/smoke/80-assert.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
apiVersion: kuttl.dev/v1beta1
kind: TestAssert
metadata:
name: assert-hbck
commands:
# Run the hbck2 command and tests that the return code is zero (0)
# This proves that the script is successfully starting the operation
# not that the Hbase operation is successful.
- script: kubectl exec --namespace=$NAMESPACE -c hbase test-hbase-restserver-default-0 -- hbck2 recoverUnknown
timeout: 480
Loading