X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/a81ca84380b2c7a79334df7b32bc864a56440023..cabc869c4f04c46ec4fd486f531b4db16f54b348:/test/hs/shelltests/htools-balancing.test diff --git a/test/hs/shelltests/htools-balancing.test b/test/hs/shelltests/htools-balancing.test index 98b87b4..7208c48 100644 --- a/test/hs/shelltests/htools-balancing.test +++ b/test/hs/shelltests/htools-balancing.test @@ -127,3 +127,13 @@ diff -u $T/simu-rebal-merged.tiered $T/simu-rebal.tiered.original ./test/hs/hbal -t$TESTDATA_DIR/n1-failure.data -G group-02 >>>/Group size 0 nodes, 0 instances/ >>>= 0 + +# By default, hbal should assume equal, non-zero utilisation +./test/hs/hbal -t$TESTDATA_DIR/hbal-dyn.data +>>>/Solution length=1/ +>>>=0 + +# ...but the --ignore-dynu option should be honored +./test/hs/hbal -t$TESTDATA_DIR/hbal-dyn.data --ignore-dynu +>>>/Cluster is already well balanced/ +>>>=0