iotests.py: rewrite run_job to be pickier
commitd6a79af0e641806d6bd6a42a4920e294b5db179c
authorJohn Snow <jsnow@redhat.com>
Thu, 23 May 2019 17:06:42 +0000 (23 13:06 -0400)
committerMax Reitz <mreitz@redhat.com>
Fri, 14 Jun 2019 12:16:57 +0000 (14 14:16 +0200)
tree21230cc5c72b009c388d01f1dfe9ecd4ee3990c5
parentf6f4b3f045ea18e3fa93a50cd0462236c428d62e
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>
tests/qemu-iotests/iotests.py