Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
snf-ganeti
Commits
2ff95e62
Commit
2ff95e62
authored
Nov 21, 2007
by
Michael Hanselmann
Browse files
Abort if tests for disk templates remote_raid1 and drbd are enabled.
Reviewed-by: iustinp
parent
84cc52ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
qa/qa_config.py
View file @
2ff95e62
...
...
@@ -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
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
):
return
cfg
.
get
(
name
,
default
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment