This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] Increase timeout for nptl/tst-robust-fork
- From: "Tulio Magno Quites Machado Filho" <tuliom at linux dot vnet dot ibm dot com>
- To: libc-alpha at sourceware dot org
- Cc: fweimer at redhat dot com
- Date: Wed, 8 Feb 2017 11:17:18 -0200
- Subject: [PATCH] Increase timeout for nptl/tst-robust-fork
- Authentication-results: sourceware.org; auth=none
Although tst-robust-fork usually completes in less the 20s, there are
some slower machines which may take as long as 23s.
This patch increases the timeout to 35s in order to minimize
intermittent failures on slower machines and under heavy usage.
2017-02-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
* nptl/tst-robust-fork.c (TIMEOUT): Set to 35.
---
nptl/tst-robust-fork.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/nptl/tst-robust-fork.c b/nptl/tst-robust-fork.c
index 4a12ff0..852413b 100644
--- a/nptl/tst-robust-fork.c
+++ b/nptl/tst-robust-fork.c
@@ -25,6 +25,8 @@
#include <support/xunistd.h>
#include <sys/mman.h>
+#define TIMEOUT 35
+
/* Data shared between processes. */
struct shared
{
--
2.1.0