Revision f8d4db63

b/Makefile.am
1181 1181
	test/data/htools/hail-invalid-reloc.json \
1182 1182
	test/data/htools/hail-node-evac.json \
1183 1183
	test/data/htools/hail-reloc-drbd.json \
1184
	test/data/htools/hbal-dyn.data \
1184 1185
	test/data/htools/hbal-excl-tags.data \
1185 1186
	test/data/htools/hbal-split-insts.data \
1186 1187
	test/data/htools/hspace-tiered-dualspec-exclusive.data \
b/test/data/htools/hbal-dyn.data
1
group-01|fake-uuid-01|preferred||
2

  
3
node-01-000|91552|0|91040|3100|3100|32|M|fake-uuid-01|1
4
node-01-001|91552|0|91040|3100|3100|32|N|fake-uuid-01|1
5

  
6
inst-00|128|0|1|running|Y|node-01-000||ext||1
7
inst-01|128|0|1|running|Y|node-01-000||ext||1
8
inst-02|128|0|1|running|Y|node-01-000||ext||1
9
inst-03|128|0|1|running|Y|node-01-000||ext||1
10
inst-10|256|0|2|running|Y|node-01-001||ext||1
11
inst-11|256|0|2|running|Y|node-01-001||ext||1
12

  
13
|128,1,1024,1,1,1|128,1,1024,1,1,1;32768,8,1048576,16,8,12|diskless,file,sharedfile,plain,blockdev,drbd,rbd,ext|4.0|32.0
14
group-01|128,1,1024,1,1,1|128,1,1024,1,1,1;32768,8,1048576,16,8,12|diskless,file,sharedfile,plain,blockdev,drbd,rbd,ext|4.0|32.0
b/test/hs/shelltests/htools-balancing.test
127 127
./test/hs/hbal -t$TESTDATA_DIR/n1-failure.data -G group-02
128 128
>>>/Group size 0 nodes, 0 instances/
129 129
>>>= 0
130

  
131
# By default, hbal should assume equal, non-zero utilisation
132
./test/hs/hbal -t$TESTDATA_DIR/hbal-dyn.data
133
>>>/Solution length=1/
134
>>>=0
135

  
136
# ...but the --ignore-dynu option should be honored
137
./test/hs/hbal -t$TESTDATA_DIR/hbal-dyn.data --ignore-dynu
138
>>>/Cluster is already well balanced/
139
>>>=0

Also available in: Unified diff