From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40477) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbUDb-0004Tb-6Z for qemu-devel@nongnu.org; Wed, 30 Oct 2013 07:45:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbUDV-0006j9-3Q for qemu-devel@nongnu.org; Wed, 30 Oct 2013 07:45:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:27071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbUDU-0006j2-IA for qemu-devel@nongnu.org; Wed, 30 Oct 2013 07:45:40 -0400 Date: Wed, 30 Oct 2013 19:45:33 +0800 From: Fam Zheng Message-ID: <20131030114533.GA763@T430s.nay.redhat.com> References: <1381804911-3664-1-git-send-email-famz@redhat.com> <20131017123834.GH10774@stefanha-thinkpad.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131017123834.GH10774@stefanha-thinkpad.redhat.com> Subject: Re: [Qemu-devel] [PATCH] qemu-iotests: fix 030 for faster machines Reply-To: famz@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: kwolf@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com 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 > > --- > > 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