]> git.ipfire.org Git - thirdparty/qemu.git/commit
iotests.py: rewrite run_job to be pickier
authorJohn Snow <jsnow@redhat.com>
Thu, 23 May 2019 17:06:42 +0000 (13:06 -0400)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 17 Sep 2019 19:58:36 +0000 (14:58 -0500)
commit32097f14fca0836756b80c15cc2f30cd7512d8d8
treebb242ac61dda49d2f67aa452481e3d2cd3381ab9
parent2ab69df8db1f831ab7aaa1662d685d78823befca
iotests.py: rewrite run_job to be pickier

Don't pull events out of the queue that don't belong to us;
be choosier so that we can use this method to drive jobs that
were launched by transactions that may have more jobs.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 20190523170643.20794-5-jsnow@redhat.com
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
(cherry picked from commit d6a79af0e641806d6bd6a42a4920e294b5db179c)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
tests/qemu-iotests/iotests.py