Commit f5d45791 authored by Andrea Arcangeli's avatar Andrea Arcangeli Committed by Amit Shah
Browse files

tests: fix libqtest socket timeouts



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

Signed-off-by: default avatarAndrea Arcangeli <aarcange@redhat.com>
Reviewed-by: default avatarMarcel 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: default avatarAmit Shah <amit.shah@redhat.com>
parent ea0c6d62
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@
#include "qapi/qmp/qjson.h"

#define MAX_IRQ 256
#define SOCKET_TIMEOUT 5
#define SOCKET_TIMEOUT 50

QTestState *global_qtest;