From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBK0Y-0007t0-Ht for qemu-devel@nongnu.org; Fri, 10 Jun 2016 06:49:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bBK0W-0002qY-OX for qemu-devel@nongnu.org; Fri, 10 Jun 2016 06:49:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48715) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBK0W-0002qU-Js for qemu-devel@nongnu.org; Fri, 10 Jun 2016 06:49:44 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2FA81711D9 for ; Fri, 10 Jun 2016 10:49:44 +0000 (UTC) From: "Dr. David Alan Gilbert (git)" Date: Fri, 10 Jun 2016 11:49:35 +0100 Message-Id: <1465555776-23286-6-git-send-email-dgilbert@redhat.com> In-Reply-To: <1465555776-23286-1-git-send-email-dgilbert@redhat.com> References: <1465555776-23286-1-git-send-email-dgilbert@redhat.com> Subject: [Qemu-devel] [PATCH v5 5/6] tests: fix libqtest socket timeouts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: amit.shah@redhat.com, quintela@redhat.com From: Andrea Arcangeli I kept getting timeouts and unix socket accept failures under high load, the patch fixes it. Signed-off-by: Andrea Arcangeli Reviewed-by: Marcel Apfelbaum --- tests/libqtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/libqtest.c b/tests/libqtest.c index 5c82348..eb00f13 100644 --- a/tests/libqtest.c +++ b/tests/libqtest.c @@ -26,7 +26,7 @@ #include "qapi/qmp/qjson.h" #define MAX_IRQ 256 -#define SOCKET_TIMEOUT 5 +#define SOCKET_TIMEOUT 50 QTestState *global_qtest; -- 2.7.4