Commit 2ff95e62 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Abort if tests for disk templates remote_raid1 and drbd are enabled.

Reviewed-by: iustinp
parent 84cc52ab
......@@ -51,6 +51,11 @@ def Validate():
if len(cfg['instances']) < 1:
raise qa_error.Error("Need at least one instance")
if (TestEnabled('instance-add-remote-raid-disk') and
raise qa_error.Error('Tests for disk templates remote_raid1 and drbd'
' cannot be enabled at the same time.')
def get(name, default=None):
return cfg.get(name, default)
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