mirror of https://github.com/xemu-project/xemu.git
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:
parent
ea0c6d6239
commit
f5d4579178
|
@ -26,7 +26,7 @@
|
||||||
#include "qapi/qmp/qjson.h"
|
#include "qapi/qmp/qjson.h"
|
||||||
|
|
||||||
#define MAX_IRQ 256
|
#define MAX_IRQ 256
|
||||||
#define SOCKET_TIMEOUT 5
|
#define SOCKET_TIMEOUT 50
|
||||||
|
|
||||||
QTestState *global_qtest;
|
QTestState *global_qtest;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue