Skip to content

Commit

Permalink
fix shellcheck lint
Browse files Browse the repository at this point in the history
  • Loading branch information
razvan committed Oct 17, 2024
1 parent a10caa0 commit f42ab05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/templates/kuttl/shutdown/count_regions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
set -euo 'pipefail'
set -x

REGION_COUNT_ON_1=$(echo "list_regions 't1'" | /stackable/hbase/bin/hbase shell --noninteractive | grep test-hbase-regionserver-default-1 | wc -l)
REGION_COUNT_ON_1=$(echo "list_regions 't1'" | /stackable/hbase/bin/hbase shell --noninteractive | grep -c test-hbase-regionserver-default-1)

test "${REGION_COUNT_ON_1}" -eq 15
2 changes: 1 addition & 1 deletion tests/templates/kuttl/shutdown/create_regions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ echo "balance_switch false" | /stackable/hbase/bin/hbase shell --noninteractive

echo "create 't1', 'f1', {NUMREGIONS => 15, SPLITALGO => 'HexStringSplit'}" | /stackable/hbase/bin/hbase shell --noninteractive

REGION_COUNT_ON_0=$(echo "list_regions 't1'" | /stackable/hbase/bin/hbase shell --noninteractive | grep test-hbase-regionserver-default-0 | wc -l)
REGION_COUNT_ON_0=$(echo "list_regions 't1'" | /stackable/hbase/bin/hbase shell --noninteractive | grep -c test-hbase-regionserver-default-0)

test "${REGION_COUNT_ON_0}" -ge 0

0 comments on commit f42ab05

Please sign in to comment.