Increase some test timeouts [committed]

Message ID alpine.DEB.2.20.1801042158560.15524@digraph.polyomino.org.uk
State New
Headers show
Series
  • Increase some test timeouts [committed]
Related show

Commit Message

Joseph Myers Jan. 4, 2018, 9:59 p.m.
This patch increases timeouts on three tests I observed timing out on
slow systems.  Committed.

2018-01-04  Joseph Myers  <joseph@codesourcery.com>

	* malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
	* posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
	* resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.

Patch

diff --git a/malloc/tst-malloc-tcache-leak.c b/malloc/tst-malloc-tcache-leak.c
index 02c4536..7d97314 100644
--- a/malloc/tst-malloc-tcache-leak.c
+++ b/malloc/tst-malloc-tcache-leak.c
@@ -109,4 +109,5 @@  do_test (void)
   exit (0);
 }
 
+#define TIMEOUT 50
 #include <support/test-driver.c>
diff --git a/posix/tst-glob-tilde.c b/posix/tst-glob-tilde.c
index 8d32b96..853b689 100644
--- a/posix/tst-glob-tilde.c
+++ b/posix/tst-glob-tilde.c
@@ -140,4 +140,5 @@  do_test (void)
   return 0;
 }
 
+#define TIMEOUT 200
 #include <support/test-driver.c>
diff --git a/resolv/tst-resolv-res_ninit.c b/resolv/tst-resolv-res_ninit.c
index d08d34e..46e72ab 100644
--- a/resolv/tst-resolv-res_ninit.c
+++ b/resolv/tst-resolv-res_ninit.c
@@ -71,4 +71,5 @@  do_test (void)
   return 0;
 }
 
+#define TIMEOUT 50
 #include <support/test-driver.c>