The administrative state of an instance is reported in the IAllocator interface. Test whether that correctly propagates to the parsed cluster state.
Signed-off-by: Klaus Aehlig <[email protected]> --- test/hs/shelltests/htools-hail.test | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/hs/shelltests/htools-hail.test b/test/hs/shelltests/htools-hail.test index 7bb6478..18ea37c 100644 --- a/test/hs/shelltests/htools-hail.test +++ b/test/hs/shelltests/htools-hail.test @@ -108,6 +108,11 @@ cat $TESTDATA_DIR/hail-alloc-invalid-network.json | grep -v -e '"network":"uuid- >>> /"success":false,.*FailSpindles: 1"/ >>>= 0 +# check that hail correctly parses admin state +./test/hs/hail -v -v $TESTDATA_DIR/hail-alloc-drbd.json +>>>2 /runSt = StatusDown/ +>>>=0 + # check that hail can use the simu backend ./test/hs/hail --simu p,8,8T,16g,16 $TESTDATA_DIR/hail-alloc-drbd.json >>> /"success":true,/ -- 2.6.0.rc2.230.g3dd15c0
