diff options
author | Max Reitz <mreitz@redhat.com> | 2020-02-18 11:34:52 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2020-02-18 11:55:41 +0100 |
commit | 89e2194524b3b503775fe62f507242227d89827c (patch) | |
tree | d2c066a3bc582a834af41172318262fa25b13810 /tests/qemu-iotests/041 | |
parent | c351afd6f3fe068ff370d872fae4ab096bba0e92 (diff) | |
download | qemu-89e2194524b3b503775fe62f507242227d89827c.zip qemu-89e2194524b3b503775fe62f507242227d89827c.tar.gz qemu-89e2194524b3b503775fe62f507242227d89827c.tar.bz2 |
iotests: Use self.image_len in TestRepairQuorum
041's TestRepairQuorum has its own image_len, no need to refer to
TestSingleDrive. (This patch allows commenting out TestSingleDrive to
speed up 041 during test testing.)
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20200218103454.296704-18-mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/041')
-rwxr-xr-x | tests/qemu-iotests/041 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/041 b/tests/qemu-iotests/041 index 084da6b..1d9e64f 100755 --- a/tests/qemu-iotests/041 +++ b/tests/qemu-iotests/041 @@ -872,7 +872,7 @@ class TestRepairQuorum(iotests.QMPTestCase): # Add each individual quorum images for i in self.IMAGES: qemu_img('create', '-f', iotests.imgfmt, i, - str(TestSingleDrive.image_len)) + str(self.image_len)) # Assign a node name to each quorum image in order to manipulate # them opts = "node-name=img%i" % self.IMAGES.index(i) |