Commit 04b5f222 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

QA: Disable drbd-offline test if no DRBD instance is used



If “instance-add-drbd-disk” is not enabled it usually also means to not
use DRBD at all.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarBernardo Dal Seno <bdalseno@google.com>
parent 5c1ae836
......@@ -650,7 +650,8 @@ def RunQa():
RunExclusiveStorageTests()
# Test removing instance with offline drbd secondary
if qa_config.TestEnabled("instance-remove-drbd-offline"):
if qa_config.TestEnabled(["instance-remove-drbd-offline",
"instance-add-drbd-disk"]):
# Make sure the master is not put offline
snode = qa_config.AcquireNode(exclude=qa_config.GetMasterNode())
try:
......
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