This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Increase timeout for nptl/tst-robust-fork


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]