Commit db3780f9 authored by Iustin Pop's avatar Iustin Pop
Browse files

Prevent runnning of confd tests in burnin


Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent cd8b0072
......@@ -178,7 +178,7 @@ OPTIONS = [
const=[], default=[{}]),
cli.cli_option("--no-confd", dest="do_confd_tests",
help="Skip confd queries",
action="store_false", default=True),
action="store_false", default=constants.ENABLE_CONFD),
cli.cli_option("--rename", dest="rename", default=None,
help=("Give one unused instance name which is taken"
" to start the renaming sequence"),
......@@ -991,6 +991,9 @@ class Burner(object):
Err("When one node is available/selected the disk template must"
" be 'diskless', 'file' or 'plain'")
if opts.do_confd_tests and not constants.ENABLE_CONFD:
Err("You selected confd tests but confd was disabled at configure time")
has_err = True
try:
self.BurnCreateInstances()
......
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