OSDN Git Service

iotests: Fix run_job() with use_log=False
authorKevin Wolf <kwolf@redhat.com>
Tue, 10 Mar 2020 11:38:27 +0000 (12:38 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 11 Mar 2020 14:54:38 +0000 (15:54 +0100)
commitb31b532122ec6f68d17168449c034d2197bf96ec
treea0afda620c5c32957d5754be47ce4e263bf42402
parentd29d3d1f80b3947fb26e7139645c83de66d146a9
iotests: Fix run_job() with use_log=False

The 'job-complete' QMP command should be run with qmp() rather than
qmp_log() if use_log=False is passed.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20200310113831.27293-4-kwolf@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/iotests.py