From 88fc4c23d437a738cdc7c24a29538f24028c2e63 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Sat, 7 May 2016 23:51:47 +0000 Subject: [PATCH] tests/attach-f-p.c: increase timeouts Increase timeouts to make the test more reliable on slow systems. * tests/attach-f-p.c (its): Increase timeouts to 1, 2, and 3 seconds, respectively. --- tests/attach-f-p.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/attach-f-p.c b/tests/attach-f-p.c index 51a53336..c0d4960e 100644 --- a/tests/attach-f-p.c +++ b/tests/attach-f-p.c @@ -58,9 +58,9 @@ static const char *child[N] = { }; static const int sigs[N] = { SIGALRM, SIGUSR1, SIGUSR2 }; static const struct itimerspec its[N] = { - { .it_value.tv_nsec = 500000000 }, - { .it_value.tv_nsec = 700000000 }, - { .it_value.tv_nsec = 900000000 }, + { .it_value.tv_sec = 1 }, + { .it_value.tv_sec = 2 }, + { .it_value.tv_sec = 3 } }; static thread_arg_t args[N] = { { .no = 0 }, -- 2.40.0