From: Guido Trotter Date: Fri, 10 Jun 2011 13:24:49 +0000 (+0100) Subject: htools live test: test instance selection as well X-Git-Tag: v2.5.0beta1~285 X-Git-Url: https://code.grnet.gr/git/ganeti-local/commitdiff_plain/9afa0de1d42090bc593bfaf7e0e7da22c9741a27 htools live test: test instance selection as well Signed-off-by: Guido Trotter Reviewed-by: Iustin Pop --- diff --git a/htools/live-test.sh b/htools/live-test.sh index 510bb17..c47766f 100755 --- a/htools/live-test.sh +++ b/htools/live-test.sh @@ -85,9 +85,11 @@ echo "$FI 2 2 2 2" > $T/util.data echo Testing hbal/text with bad utilization data echo "$FI 2 a 3b" > $T/util.data ! ./hbal -t$T/$RAPI.data $GROUP -U $T/util.data -echo Testing hbal/text with instance exclusion +echo Testing hbal/text with instance exclusion/selection ./hbal -t$T/$RAPI.data $GROUP --exclude-instances=$FI +./hbal -t$T/$RAPI.data $GROUP --select-instances=$FI ! ./hbal -t$T/$RAPI.data --exclude-instances=no_such_instance +! ./hbal -t$T/$RAPI.data --select-instances=no_such_instance echo Testing hbal/text with tag exclusion ./hbal -t $T/$RAPI.data $GROUP --exclusion-tags=no_such_tag echo Testing hbal multiple backend failure