qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH] qemu-iotests: Avoid unnecessary sleeps


From: Kevin Wolf
Subject: Re: [Qemu-block] [PATCH] qemu-iotests: Avoid unnecessary sleeps
Date: Mon, 24 Jul 2017 11:33:09 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Am 21.07.2017 um 17:10 hat Kevin Wolf geschrieben:
> Test cases 030, 041 and 055 used to sleep for a second after calling
> block-job-pause to make sure that the block job had time to actually
> get into paused state. We can instead poll its status and use that one
> second only as a timeout.
> 
> The tests also slept a second for checking that the block jobs don't
> make progress while being paused. Half a second is more than enough for
> this.
> 
> These changes reduce the total time for the three tests by 25 seconds on
> my laptop (from 155 seconds to 130).
> 
> Signed-off-by: Kevin Wolf <address@hidden>

Applied to the block branch.

Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]