blob: f8e629cb5eb0b9abc587389a0a004d7d9dfaf123 [file] [log] [blame]
# standard single-group tests
./test/hs/hinfo -v -v -p --print-instances -t$T/simu-onegroup.standard
>>>= 0
./test/hs/hbal -v -v -p --print-instances -t$T/simu-onegroup.standard
>>>= 0
# hbal should not be able to balance
./test/hs/hbal -t$T/simu-onegroup.standard
>>> /(Nothing to do, exiting|No solution found)/
>>>= 0
# tiered single-group tests
./test/hs/hinfo -v -v -p --print-instances -t$T/simu-onegroup.tiered
>>>= 0
./test/hs/hbal -v -v -p --print-instances -t$T/simu-onegroup.tiered
>>>= 0
# hbal should not be able to balance
./test/hs/hbal -t$T/simu-onegroup.tiered
>>> /(Nothing to do, exiting|No solution found)/
>>>= 0
# hcheck should not find reason to rebalance
./test/hs/hcheck -t$T/simu-onegroup.tiered --machine-readable
>>> /HCHECK_INIT_CLUSTER_NEED_REBALANCE=0/
>>>= 0
# hroller should be able to print the solution
./test/hs/hroller -t$T/simu-onegroup.tiered
>>>= 0
# hroller should be able to print the solution, in verbose mode as well
./test/hs/hroller -t$T/simu-onegroup.tiered -v -v
>>>= 0