Commit 2ef21e6e authored by Bernardo Dal Seno's avatar Bernardo Dal Seno
Browse files

QA: Test enabled disk templates with known configuration

The test failed because it was executed also in a configuration that wasn't
expected, i.e., with exclusive storage enabled.

Also the docstring is shortened, as it was being truncated in the QA output.
Signed-off-by: default avatarBernardo Dal Seno <>
Reviewed-by: default avatarGuido Trotter <>
parent 02cff8aa
......@@ -626,10 +626,6 @@ def RunInstanceTests():
def RunQa():
"""Main QA body.
......@@ -729,6 +725,10 @@ def RunQa():
RunTestIf(["cluster-instance-policy", "instance-add-plain-disk"],
# Test removing instance with offline drbd secondary
if qa_config.TestEnabled(["instance-remove-drbd-offline",
......@@ -1007,8 +1007,7 @@ def TestRemoveInstanceOfflineNode(instance, snode, set_offline, set_online):
def TestInstanceCreationRestrictedByDiskTemplates():
"""Test if adding instances is only possible if they use an enabled
disk template."""
"""Test adding instances for disbled disk templates."""
enabled_disk_templates = qa_config.GetEnabledDiskTemplates()
nodes = qa_config.AcquireManyNodes(2)
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