diff mbox

[PULL,7/8] tests: fix libqtest socket timeouts

Message ID 9e3795345b19b49951b1c95560f8c191a2f07e33.1465559221.git.amit.shah@redhat.com
State New
Headers show

Commit Message

Amit Shah June 10, 2016, 11:48 a.m. UTC
From: Andrea Arcangeli <aarcange@redhat.com>

I kept getting timeouts and unix socket accept failures under high
load, the patch fixes it.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Message-Id: <1465555776-23286-6-git-send-email-dgilbert@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
---
 tests/libqtest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

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;