LGTM, thanks

On Thu, Nov 14, 2013 at 11:06 PM, Klaus Aehlig <[email protected]> wrote:

> In the examples, pick a node that certainly has to be powered on or off,
> respectively, and verify that the power command is there, as well
> an appropriate migration command in the right position.
>
> Signed-off-by: Klaus Aehlig <[email protected]>
> ---
>  test/hs/shelltests/htools-hsqueeze.test | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>
> diff --git a/test/hs/shelltests/htools-hsqueeze.test
> b/test/hs/shelltests/htools-hsqueeze.test
> index 0ab2557..bc1eea0 100644
> --- a/test/hs/shelltests/htools-hsqueeze.test
> +++ b/test/hs/shelltests/htools-hsqueeze.test
> @@ -20,6 +20,11 @@ node-01-00[2345]
>  node-01-00[2345]$/
>  >>>= 0
>
> +./test/hs/hsqueeze --no-headers --target-resources=0 -t
> $TESTDATA_DIR/hsqueeze-underutilized.data -C
> +>>>/gnt-instance migrate -f -n node-01-00[01] inst-50(.|
> +)*gnt-node power off -f node-01-005/
> +>>>=0
> +
>  ./test/hs/hsqueeze -v -t $TESTDATA_DIR/hsqueeze-overutilized.data
>  >>>/Online candidates:
> node-01-00[2456],node-01-00[2456],node-01-00[2456],node-01-00[2456]/
>  >>>= 0
> @@ -40,6 +45,12 @@ node-01-00[2456]
>  node-01-00[2456]$/
>  >>>= 0
>
> +./test/hs/hsqueeze --no-headers -t
> $TESTDATA_DIR/hsqueeze-overutilized.data --minimal-resources=4.0
> --target-resources=5.0 -C
> +>>>/gnt-node power on -f node-01-006(.|
> +)*gnt-instance migrate -f -n node-01-006 inst-/
> +>>>= 0
> +
> +
>  ./test/hs/hsqueeze -v -t $TESTDATA_DIR/hsqueeze-overutilized.data
> --minimal-resources=4.0 --target-resources=5.0
>  >>>/will not yield enough capacity/
>  >>>= 0
> --
> 1.8.4.1
>
>


Hrvoje Ribicic
Ganeti Engineering
Google Germany GmbH
Dienerstr. 12, 80331, München

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores
Steuernummer: 48/725/00206
Umsatzsteueridentifikationsnummer: DE813741370

Reply via email to