LGTM On Mon, Oct 5, 2015 at 5:10 PM, 'Klaus Aehlig' via ganeti-devel < [email protected]> wrote:
> 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 > > -- Lisa Velden Software Engineer [email protected] Google Germany GmbH Dienerstraße 12 80331 München Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg
