From: Thomas Huth Date: Wed, 29 Jan 2020 14:17:51 +0000 (+0100) Subject: iotests: Remove the superfluous 2nd check for the availability of quorum X-Git-Tag: v5.0.0-rc0~81^2~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6756696e38117f9e7c769dd33b339f5ab71f7d47;p=thirdparty%2Fqemu.git iotests: Remove the superfluous 2nd check for the availability of quorum 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 Message-Id: <20200129141751.32652-1-thuth@redhat.com> Reviewed-by: Alberto Garcia Reviewed-by: Andrey Shinkevich Tested-by: Andrey Shinkevich Signed-off-by: Max Reitz --- diff --git a/tests/qemu-iotests/139 b/tests/qemu-iotests/139 index 6b1a444364c..7120d3142b7 100755 --- a/tests/qemu-iotests/139 +++ b/tests/qemu-iotests/139 @@ -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)