X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/53d4cdf1cd9eb7037f98a608b8c15436f1ad26d4..cc706abc57d97c02e9cf128dbf67ca605b295551:/test/htools-multi-group.test diff --git a/test/htools-multi-group.test b/test/htools-multi-group.test index b39dd8e..561c0ad 100644 --- a/test/htools-multi-group.test +++ b/test/htools-multi-group.test @@ -33,3 +33,13 @@ # and it should not find an invalid group ./test/hbal -t$T/simu-twogroups.tiered -G no-such-group >>>= !0 + +# hcheck should be able to run with multiple groups +./test/hcheck -t$T/simu-twogroups.tiered --machine-readable +>>> /HCHECK_OK=1/ +>>>= 0 + +# hcheck should be able to improve a group with split instances +./test/hbal -t $TESTDATA_DIR/hbal-split-insts.data -G group-01 -O node-01-001 +>>> /Cluster score improved from .* to .*/ +>>>= 0