mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
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:
parent
f03a8c7335
commit
50bb041a3d
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue