iotests: Remove the superfluous 2nd check for the availability of quorum
authorThomas Huth <thuth@redhat.com>
Wed, 29 Jan 2020 14:17:51 +0000 (15:17 +0100)
committerMax Reitz <mreitz@redhat.com>
Thu, 20 Feb 2020 15:43:42 +0000 (16:43 +0100)
Commit d9df28e7b07 ("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>
tests/qemu-iotests/139

index 6b1a444364c968945818d16670813da709792e62..7120d3142b7757a9ba609c5854c071a0698fb964 100755 (executable)
@@ -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)