1 # standard multi-group tests
2 ./test/hs/hinfo -v -v -p --print-instances -t$T/simu-twogroups.standard
4 ./test/hs/hbal -t$T/simu-twogroups.standard
7 # hbal should not be able to balance
8 ./test/hs/hbal -t$T/simu-twogroups.standard
9 >>>2 /Found multiple node groups/
12 # but hbal should be able to balance one node group
13 ./test/hs/hbal -t$T/simu-twogroups.standard -G group-01
15 # and it should not find an invalid group
16 ./test/hs/hbal -t$T/simu-twogroups.standard -G no-such-group
19 # tiered allocs multi-group tests
20 ./test/hs/hinfo -v -v -p --print-instances -t$T/simu-twogroups.tiered
22 ./test/hs/hbal -t$T/simu-twogroups.tiered
25 # hbal should not be able to balance
26 ./test/hs/hbal -t$T/simu-twogroups.tiered
27 >>>2 /Found multiple node groups/
30 # but hbal should be able to balance one node group
31 ./test/hs/hbal -t$T/simu-twogroups.tiered -G group-01
33 # and it should not find an invalid group
34 ./test/hs/hbal -t$T/simu-twogroups.tiered -G no-such-group
37 # hcheck should be able to run with multiple groups
38 ./test/hs/hcheck -t$T/simu-twogroups.tiered --machine-readable
42 # hcheck should be able to improve a group with split instances, and also
44 ./test/hs/hbal -t $TESTDATA_DIR/hbal-split-insts.data -G group-01 -O node-01-001 -v
45 >>> /Cluster score improved from .* to .*/
46 >>>2/Found instances belonging to multiple node groups:/