* Increase some test timeouts [committed]
@ 2018-01-04 21:59 Joseph Myers
0 siblings, 0 replies; 2+ messages in thread
From: Joseph Myers @ 2018-01-04 21:59 UTC (permalink / raw)
To: libc-alpha
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.
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>
--
Joseph S. Myers
joseph@codesourcery.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Increase some test timeouts [committed]
@ 2017-07-06 17:02 Joseph Myers
0 siblings, 0 replies; 2+ messages in thread
From: Joseph Myers @ 2017-07-06 17:02 UTC (permalink / raw)
To: libc-alpha
This patch increases the timeouts for some tests that I've seen timing
out on slow systems in my 2.26 release testing. (In the case of
tst-tsearch.c, increasing the timeout means removing a setting of 10
that was put there before the default timeout was increased to 20
seconds, so putting the default into effect.)
Committed.
2017-07-06 Joseph Myers <joseph@codesourcery.com>
* iconvdata/tst-loading.c (TIMEOUT): Define to 30.
* misc/tst-tsearch.c (TIMEOUT): Remove.
* nptl/tst-create-detached.c (TIMEOUT): Define to 100.
* nptl/tst-robust-fork.c (TIMEOUT): Likewise.
* nptl/tst-rwlock19.c (TIMEOUT): Likewise.
* string/tst-cmp.c (TIMEOUT): Define to 600.
diff --git a/iconvdata/tst-loading.c b/iconvdata/tst-loading.c
index 4aac51c..4f343e6 100644
--- a/iconvdata/tst-loading.c
+++ b/iconvdata/tst-loading.c
@@ -181,5 +181,6 @@ do_test (void)
return result;
}
+#define TIMEOUT 30
#define TEST_FUNCTION do_test ()
#include "../test-skeleton.c"
diff --git a/misc/tst-tsearch.c b/misc/tst-tsearch.c
index 6c8fff0..5e3c473 100644
--- a/misc/tst-tsearch.c
+++ b/misc/tst-tsearch.c
@@ -351,6 +351,5 @@ do_test (void)
return total_error;
}
-#define TIMEOUT 10
#define TEST_FUNCTION do_test ()
#include "../test-skeleton.c"
diff --git a/nptl/tst-create-detached.c b/nptl/tst-create-detached.c
index ea93e44..551a845 100644
--- a/nptl/tst-create-detached.c
+++ b/nptl/tst-create-detached.c
@@ -134,4 +134,5 @@ do_test (void)
return 0;
}
+#define TIMEOUT 100
#include <support/test-driver.c>
diff --git a/nptl/tst-robust-fork.c b/nptl/tst-robust-fork.c
index 4a12ff0..ec0fd3c 100644
--- a/nptl/tst-robust-fork.c
+++ b/nptl/tst-robust-fork.c
@@ -181,4 +181,5 @@ do_test (void)
return 0;
}
+#define TIMEOUT 100
#include <support/test-driver.c>
diff --git a/nptl/tst-rwlock19.c b/nptl/tst-rwlock19.c
index 746d84d..47c6f43 100644
--- a/nptl/tst-rwlock19.c
+++ b/nptl/tst-rwlock19.c
@@ -122,6 +122,6 @@ do_test (void)
return 0;
}
-#define TIMEOUT 30
+#define TIMEOUT 100
#define TEST_FUNCTION do_test ()
#include "../test-skeleton.c"
diff --git a/string/tst-cmp.c b/string/tst-cmp.c
index d772019..7ddbd0b 100644
--- a/string/tst-cmp.c
+++ b/string/tst-cmp.c
@@ -207,6 +207,6 @@ do_test (void)
/* The nested loops need a long time to complete on slower
machines. */
-#define TIMEOUT 300
+#define TIMEOUT 600
#include <support/test-driver.c>
--
Joseph S. Myers
joseph@codesourcery.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-01-04 21:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-04 21:59 Increase some test timeouts [committed] Joseph Myers
-- strict thread matches above, loose matches on Subject: below --
2017-07-06 17:02 Joseph Myers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).