Commit 36820089 authored by Klaus Aehlig's avatar Klaus Aehlig
Browse files

Add tests for hsqueeze commands

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: default avatarKlaus Aehlig <>
Reviewed-by: default avatarHrvoje Ribicic <>
parent 268fb0bd
......@@ -20,6 +20,11 @@ node-01-00[2345]
>>>= 0
./test/hs/hsqueeze --no-headers --target-resources=0 -t $TESTDATA_DIR/ -C
>>>/gnt-instance migrate -f -n node-01-00[01] inst-50(.|
)*gnt-node power off -f node-01-005/
./test/hs/hsqueeze -v -t $TESTDATA_DIR/
>>>/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]
>>>= 0
./test/hs/hsqueeze --no-headers -t $TESTDATA_DIR/ --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/ --minimal-resources=4.0 --target-resources=5.0
>>>/will not yield enough capacity/
>>>= 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment