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: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20231006154125.1068348-13-vsementsov@yandex-team.ru
Signed-off-by: John Snow <jsnow@redhat.com>
This commit is contained in:
Vladimir Sementsov-Ogievskiy 2023-10-06 18:41:22 +03:00 committed by John Snow
parent c5339030e6
commit 39995e2126
1 changed files with 1 additions and 2 deletions

View File

@ -1338,8 +1338,7 @@ class QMPTestCase(unittest.TestCase):
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'''