On Thu, 10/17 14:38, Stefan Hajnoczi wrote: > On Tue, Oct 15, 2013 at 10:41:51AM +0800, Fam Zheng wrote: > > If the block job completes too fast, the test can fail. Change the > > numbers so the qmp events are more stably captured by the script. > > > > A sleep is removed for the same reason. > > > > Signed-off-by: Fam Zheng <[email protected]> > > --- > > tests/qemu-iotests/030 | 11 +++++------ > > 1 file changed, 5 insertions(+), 6 deletions(-) > > Can you try using the blkdebug suspend command to pause I/O? That way > the test can be made reliable.
I'll give a try. The cancel_and_wait need to be replaced by cancel_resume_wait then. Thanks, Fam
