tests: fix libqtest socket timeouts

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: 1465816605-29488-6-git-send-email-dgilbert@redhat.com
Message-Id: <1465816605-29488-6-git-send-email-dgilbert@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
This commit is contained in:
Andrea Arcangeli 2016-06-13 12:16:44 +01:00 committed by Amit Shah
parent ea0c6d6239
commit f5d4579178
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
#include "qapi/qmp/qjson.h"
#define MAX_IRQ 256
#define SOCKET_TIMEOUT 5
#define SOCKET_TIMEOUT 50
QTestState *global_qtest;