Skip to content
Snippets Groups Projects
Commit 39995e21 authored by Vladimir Sementsov-Ogievskiy's avatar Vladimir Sementsov-Ogievskiy Committed by John Snow
Browse files

iotests.py: pause_job(): drop return value


The returned value is unused. It's simple to check by command

 git grep -B 3 '\.pause_job('

Signed-off-by: default avatarVladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
Message-id: 20231006154125.1068348-13-vsementsov@yandex-team.ru
Signed-off-by: default avatarJohn Snow <jsnow@redhat.com>
parent c5339030
No related branches found
No related tags found
No related merge requests found
......@@ -1338,8 +1338,7 @@ def pause_job(self, job_id='job0', wait=True):
result = self.vm.qmp('block-job-pause', device=job_id)
self.assert_qmp(result, 'return', {})
if wait:
return self.pause_wait(job_id)
return result
self.pause_wait(job_id)
def case_skip(self, reason):
'''Skip this test case'''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment