Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -51,6 +51,11 @@ def Validate(): ...@@ -51,6 +51,11 @@ def Validate():
if len(cfg['instances']) < 1: if len(cfg['instances']) < 1:
raise qa_error.Error("Need at least one instance") raise qa_error.Error("Need at least one instance")
if (TestEnabled('instance-add-remote-raid-disk') and
TestEnabled('instance-add-drbd-disk')):
raise qa_error.Error('Tests for disk templates remote_raid1 and drbd'
' cannot be enabled at the same time.')
def get(name, default=None): def get(name, default=None):
return cfg.get(name, default) return cfg.get(name, default)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment