Skip to content

Commit

Permalink
iotests/041: drop self.assert_no_active_block_jobs()
Browse files Browse the repository at this point in the history
Drop check for no block-jobs: it's obvious that there no jobs
immediately after vm.launch().

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20200430124713.3067-5-vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
  • Loading branch information
Vladimir Sementsov-Ogievskiy authored and kevmw committed May 8, 2020
1 parent 50bb041 commit 4b4083d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/qemu-iotests/041
Expand Up @@ -904,8 +904,6 @@ class TestRepairQuorum(iotests.QMPTestCase):
pass

def test_complete(self):
self.assert_no_active_block_jobs()

result = self.vm.qmp('drive-mirror', job_id='job0', device='quorum0',
sync='full', node_name="repair0", replaces="img1",
target=quorum_repair_img, format=iotests.imgfmt)
Expand All @@ -919,8 +917,6 @@ class TestRepairQuorum(iotests.QMPTestCase):
'target image does not match source after mirroring')

def test_cancel(self):
self.assert_no_active_block_jobs()

result = self.vm.qmp('drive-mirror', job_id='job0', device='quorum0',
sync='full', node_name="repair0", replaces="img1",
target=quorum_repair_img, format=iotests.imgfmt)
Expand All @@ -932,8 +928,6 @@ class TestRepairQuorum(iotests.QMPTestCase):
self.assert_has_block_node(None, quorum_img3)

def test_cancel_after_ready(self):
self.assert_no_active_block_jobs()

result = self.vm.qmp('drive-mirror', job_id='job0', device='quorum0',
sync='full', node_name="repair0", replaces="img1",
target=quorum_repair_img, format=iotests.imgfmt)
Expand All @@ -948,8 +942,6 @@ class TestRepairQuorum(iotests.QMPTestCase):
'target image does not match source after mirroring')

def test_pause(self):
self.assert_no_active_block_jobs()

result = self.vm.qmp('drive-mirror', job_id='job0', device='quorum0',
sync='full', node_name="repair0", replaces="img1",
target=quorum_repair_img, format=iotests.imgfmt)
Expand Down

0 comments on commit 4b4083d

Please sign in to comment.