parent
98e5f4c98c
commit
3c3bd8649a
@ -0,0 +1,13 @@ |
||||
# shellcheck source=../../utils/with-single-node-cluster.sh |
||||
source "$UTILS"/with-single-node-cluster.sh |
||||
|
||||
status="$(isle garage cli status | tail -n+3)" |
||||
|
||||
[ "$(echo "$status" | wc -l)" = "3" ] |
||||
echo "$status" | grep -q '10.6.9.1:3900' |
||||
echo "$status" | grep -q '10.6.9.1:3910' |
||||
echo "$status" | grep -q '10.6.9.1:3920' |
||||
|
||||
buckets="$(isle garage cli bucket list | tail -n+2)" |
||||
[ "$(echo "$buckets" | wc -l)" = 1 ] |
||||
echo "$buckets" | grep -q 'global-shared' |
@ -0,0 +1,8 @@ |
||||
# shellcheck source=../../utils/with-single-node-cluster.sh |
||||
source "$UTILS"/with-single-node-cluster.sh |
||||
|
||||
files="$(isle garage mc -- tree --json garage)" |
||||
[ "$(echo "$files" | jq -s '.|length')" -ge "1" ] |
||||
|
||||
file="$(echo "$files" | jq -sr '.[0].key')" |
||||
[ "$(isle garage mc -- cat "garage/$file" | wc -c)" -gt "0" ] |
Loading…
Reference in new issue