aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2020-04-30 15:47:08 +0300
committerKevin Wolf <kwolf@redhat.com>2020-05-08 13:26:35 +0200
commit50bb041a3d0c611de38e1afbd8a6ac58e096da55 (patch)
tree057e8a76506f61e40c49dd6acc5d1387f520419e /tests
parentf03a8c73354f9f52364c528c3bdb4c42f08082e4 (diff)
iotests/148: use skip_if_unsupported
Skip test-case with quorum if quorum is not whitelisted. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20200430124713.3067-4-vsementsov@virtuozzo.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/qemu-iotests/1481
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/148 b/tests/qemu-iotests/148
index 90931948e3..5e14a455b1 100755
--- a/tests/qemu-iotests/148
+++ b/tests/qemu-iotests/148
@@ -47,6 +47,7 @@ sector = "%d"
''' % bad_sector)
file.close()
+ @iotests.skip_if_unsupported(['quorum'])
def setUp(self):
driveopts = ['driver=quorum', 'vote-threshold=2']
driveopts.append('read-pattern=%s' % self.read_pattern)