diff mbox

[v2,5/5] tests: fix libqtest socket timeouts

Message ID 1461941263-9523-6-git-send-email-dgilbert@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Dr. David Alan Gilbert April 29, 2016, 2:47 p.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>
---
 tests/libqtest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Marcel Apfelbaum May 1, 2016, 8:22 a.m. UTC | #1
On 04/29/2016 05:47 PM, Dr. David Alan Gilbert (git) wrote:
> 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>
> ---
>   tests/libqtest.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/libqtest.c b/tests/libqtest.c
> index b12a9e4..57ce292 100644
> --- a/tests/libqtest.c
> +++ b/tests/libqtest.c
> @@ -27,7 +27,7 @@
>   #include "qapi/qmp/qjson.h"
>
>   #define MAX_IRQ 256
> -#define SOCKET_TIMEOUT 5
> +#define SOCKET_TIMEOUT 50
>
>   QTestState *global_qtest;
>
>


Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>

Thanks,
Marcel
diff mbox

Patch

diff --git a/tests/libqtest.c b/tests/libqtest.c
index b12a9e4..57ce292 100644
--- a/tests/libqtest.c
+++ b/tests/libqtest.c
@@ -27,7 +27,7 @@ 
 #include "qapi/qmp/qjson.h"
 
 #define MAX_IRQ 256
-#define SOCKET_TIMEOUT 5
+#define SOCKET_TIMEOUT 50
 
 QTestState *global_qtest;