aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndrea Arcangeli <aarcange@redhat.com>2016-06-13 12:16:44 +0100
committerAmit Shah <amit.shah@redhat.com>2016-06-16 09:50:07 +0530
commitf5d457917817d7bfd2424bb88314eaf16b5ec9d6 (patch)
treeeae44009197eb5ee6e07cbebf5b2e6bca39329eb /tests
parentea0c6d62391d269e2d8927a80912d479a0c5cf8a (diff)
downloadqemu-f5d457917817d7bfd2424bb88314eaf16b5ec9d6.zip
qemu-f5d457917817d7bfd2424bb88314eaf16b5ec9d6.tar.gz
qemu-f5d457917817d7bfd2424bb88314eaf16b5ec9d6.tar.bz2
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/libqtest.c2
1 files changed, 1 insertions, 1 deletions
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;