Skip to content

Commit 184d2cf

Browse files
authored
tests: add assert for hbck2 (#699)
1 parent 74a9949 commit 184d2cf

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
apiVersion: kuttl.dev/v1beta1
3+
kind: TestAssert
4+
metadata:
5+
name: assert-hbck
6+
commands:
7+
# Run the hbck2 command and tests that the return code is zero (0)
8+
# This proves that the script is successfully starting the operation
9+
# not that the Hbase operation is successful.
10+
- script: kubectl exec --namespace=$NAMESPACE -c hbase test-hbase-restserver-default-0 -- hbck2 recoverUnknown
11+
timeout: 480

0 commit comments

Comments
 (0)