Revision c64c3854 htest/shelltests/htools-balancing.test
b/htest/shelltests/htools-balancing.test | ||
---|---|---|
97 | 97 |
>>>2 |
98 | 98 |
>>>=0 |
99 | 99 |
|
100 |
# and hcheck should report this as needs rebalancing |
|
101 |
./htest/hcheck -t$TESTDATA_DIR/n1-failure.data |
|
102 |
>>>/Cluster needs rebalancing./ |
|
103 |
>>>= 1 |
|
104 |
|
|
105 |
# ... unless we request no-simulation mode |
|
106 |
./htest/hcheck -t$TESTDATA_DIR/n1-failure.data --no-simulation |
|
107 |
>>>/Running in no-simulation mode./ |
|
108 |
>>>= 0 |
|
109 |
|
|
110 |
# and a clean cluster should be reported as such |
|
111 |
./htest/hcheck $BACKEND_BAL_STD |
|
112 |
>>>/No need to rebalance cluster, no problems found./ |
|
113 |
>>>= 0 |
|
114 |
|
|
115 |
# ... and even one with non-zero score |
|
116 |
./htest/hcheck -t $TESTDATA_DIR/clean-nonzero-score.data |
|
117 |
>>>/No need to rebalance cluster, no problems found./ |
|
118 |
>>>= 0 |
|
119 |
|
|
100 | 120 |
# hbal should work on empty groups as well |
101 | 121 |
./htest/hbal -t$TESTDATA_DIR/n1-failure.data -G group-02 |
102 | 122 |
>>>/Group size 0 nodes, 0 instances/ |
Also available in: Unified diff