On Sun, Apr 08, 2018 at 11:05:42AM +0800, Peter Xu wrote: > If there are more than one events, wait_until_completed() might return > the 2nd event even if the 1st event is JOB_COMPLETED, since the for loop > will continue to run even if completed is set to True. > > It never happened before, but it can be triggered when OOB is enabled > due to the RESUME startup message. Fix that up. > > Signed-off-by: Peter Xu <pet...@redhat.com> > --- > tests/qemu-iotests/iotests.py | 9 +++------ > 1 file changed, 3 insertions(+), 6 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature