Skip to content

Commit

Permalink
iotests: Remove the superfluous 2nd check for the availability of quorum
Browse files Browse the repository at this point in the history
Commit d9df28e ("iotests: check whitelisted formats") added the
modern @iotests.skip_if_unsupported() to the functions in this test,
so we don't need the old explicit test here anymore.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20200129141751.32652-1-thuth@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Tested-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
  • Loading branch information
huth authored and XanClic committed Feb 20, 2020
1 parent 66fcbca commit 6756696
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/qemu-iotests/139
Original file line number Diff line number Diff line change
Expand Up @@ -344,9 +344,6 @@ class TestBlockdevDel(iotests.QMPTestCase):

@iotests.skip_if_unsupported(['quorum'])
def testQuorum(self):
if not iotests.supports_quorum():
return

self.addQuorum('quorum0', 'node0', 'node1')
# We cannot remove the children of a Quorum device
self.delBlockDriverState('node0', expect_error = True)
Expand Down

0 comments on commit 6756696

Please sign in to comment.