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>
This commit is contained in:
Vladimir Sementsov-Ogievskiy 2020-04-30 15:47:08 +03:00 committed by Kevin Wolf
parent f03a8c7335
commit 50bb041a3d

View File

@ -47,6 +47,7 @@ sector = "%d"
''' % bad_sector) ''' % bad_sector)
file.close() file.close()
@iotests.skip_if_unsupported(['quorum'])
def setUp(self): def setUp(self):
driveopts = ['driver=quorum', 'vote-threshold=2'] driveopts = ['driver=quorum', 'vote-threshold=2']
driveopts.append('read-pattern=%s' % self.read_pattern) driveopts.append('read-pattern=%s' % self.read_pattern)