From 6c5aca1e308433ed64b2413ae9eb82bc160a7297 Mon Sep 17 00:00:00 2001
From: Martin Pitt <martin@piware.de>
Date: Mon, 16 Oct 2017 20:54:29 +0200
Subject: [PATCH 3/6] test: Disable LVM related storaged tests on RHEL 7.5
udisks2-lvm2 is not currently available on RHEL 7.5, so disable the
corresponding tests.
See https://bugzilla.redhat.com/show_bug.cgi?id=1503100
Reviewed-by: Peter <petervo@redhat.com>
---
test/verify/check-storage-hidden | 2 ++
test/verify/check-storage-lvm2 | 2 ++
test/verify/check-storage-multipath | 2 ++
test/verify/check-storage-resize | 2 ++
4 files changed, 8 insertions(+)
diff --git a/test/verify/check-storage-hidden b/test/verify/check-storage-hidden
index fc4d5a7..1498bee 100755
--- a/test/verify/check-storage-hidden
+++ b/test/verify/check-storage-hidden
@@ -24,6 +24,8 @@ from testlib import *
from storagelib import *
@skipImage("UDisks doesn't have support for LVM", "debian-stable", "debian-testing", "ubuntu-1604", "ubuntu-stable")
+# HACK: https://bugzilla.redhat.com/show_bug.cgi?id=1503100
+@skipImage("udisks2-lvm2 missing in RHEL 7.5", "rhel-7-5")
class TestStorage(StorageCase):
def testHiddenLuks(self):
m = self.machine
diff --git a/test/verify/check-storage-lvm2 b/test/verify/check-storage-lvm2
index 13f70ef..b68846d 100755
--- a/test/verify/check-storage-lvm2
+++ b/test/verify/check-storage-lvm2
@@ -24,6 +24,8 @@ from testlib import *
from storagelib import *
@skipImage("UDisks doesn't have support for LVM", "debian-stable", "debian-testing", "ubuntu-1604", "ubuntu-stable")
+# HACK: https://bugzilla.redhat.com/show_bug.cgi?id=1503100
+@skipImage("udisks2-lvm2 missing in RHEL 7.5", "rhel-7-5")
class TestStorage(StorageCase):
def testLvm(self):
m = self.machine
diff --git a/test/verify/check-storage-multipath b/test/verify/check-storage-multipath
index 12770b8..9fa5a88 100755
--- a/test/verify/check-storage-multipath
+++ b/test/verify/check-storage-multipath
@@ -24,6 +24,8 @@ from storagelib import *
@skipImage("UDisks doesn't have support for multipath", "debian-stable", "ubuntu-1604", "ubuntu-stable")
@skipImage("No multipath on Debian", "debian-testing")
+# HACK: https://bugzilla.redhat.com/show_bug.cgi?id=1503100
+@skipImage("udisks2-lvm2 missing in RHEL 7.5", "rhel-7-5")
class TestStorage(StorageCase):
def testBasic(self):
m = self.machine
diff --git a/test/verify/check-storage-resize b/test/verify/check-storage-resize
index 4d89db5..2a8e126 100755
--- a/test/verify/check-storage-resize
+++ b/test/verify/check-storage-resize
@@ -24,6 +24,8 @@ from testlib import *
from storagelib import *
@skipImage("UDisks doesn't have support for LVM", "debian-stable", "debian-testing", "ubuntu-1604", "ubuntu-stable")
+# HACK: https://bugzilla.redhat.com/show_bug.cgi?id=1503100
+@skipImage("udisks2-lvm2 missing in RHEL 7.5", "rhel-7-5")
class TestStorage(StorageCase):
def testResize(self):
m = self.machine
--
2.14.3