[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] iotests: Fix intermittent failure in 219
From: |
Max Reitz |
Subject: |
Re: [Qemu-devel] [PATCH] iotests: Fix intermittent failure in 219 |
Date: |
Thu, 16 May 2019 18:12:01 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
On 16.05.19 18:11, Max Reitz wrote:
> In 219, we wait for the job to make progress before we emit its status.
> This makes the output reliable.
>
> Unfortunately, there is a bug: We do not wait for any more progress if
> the job has already reached its total-progress. Right after the job has
> been started, it is possible that total-progress is still 0, though. In
> that case, we may skip the first progress-making step and keep ending up
> 64 kB short.
>
> To fix that bug, we cab simply wait for total-progress to reach 4 MB
s/cab/can/...
> (the image size) after starting the job.
>
> Reported-by: Karen Mezick <address@hidden>
> Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1686651
> Signed-off-by: Max Reitz <address@hidden>
> ---
> tests/qemu-iotests/219 | 13 ++++++++++---
> 1 file changed, 10 insertions(+), 3 deletions(-)
signature.asc
Description: OpenPGP digital signature