htools-excl.test: add test case for exclusion tags in hbal
authorDato Simó <dato@google.com>
Fri, 12 Oct 2012 15:03:15 +0000 (16:03 +0100)
committerDato Simó <dato@google.com>
Wed, 17 Oct 2012 13:13:26 +0000 (14:13 +0100)
commit0397694e7d8cd447d99accb67c7239c63d553acf
tree4939ef9558bfc5b49a477792438ca32b0b4994be
parent48e3db76cfe5f63e400c31825377f76803bfc277
htools-excl.test: add test case for exclusion tags in hbal

In preparation for future modifications in the exclusion tags field, add a
test that verifies that exclusion tags are being honored: in a test cluster
with two instances of the same exclusion group in each node, hbal should
shuffle instances around to improve the score.

Signed-off-by: Dato Simó <dato@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
test/data/htools/hbal-excl-tags.data [new file with mode: 0644]
test/htools-excl.test