summaryrefslogtreecommitdiff
path: root/test/testlock.c
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2017-09-19 16:38:40 +0000
committerJoe Orton <jorton@apache.org>2017-09-19 16:38:40 +0000
commitc7be6b0bfd1e1f1ca920641d1edda82716fadb08 (patch)
tree28f2e532514367f40a66926b6b468bf936805da0 /test/testlock.c
parentef8f261204f23ca48c322f5d51fe56ed4c1d2e99 (diff)
downloadapr-c7be6b0bfd1e1f1ca920641d1edda82716fadb08.tar.gz
* test/testlock.c (test_timeoutcond): Increase fudge factor in
checking timeout precision; 100ms failed regularly in Fedora builds, 500ms has Never Failed(TM). git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1808910 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testlock.c')
-rw-r--r--test/testlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testlock.c b/test/testlock.c
index 40da791b7..cd48768ca 100644
--- a/test/testlock.c
+++ b/test/testlock.c
@@ -334,7 +334,7 @@ static void test_timeoutcond(abts_case *tc, void *data)
continue;
}
ABTS_INT_EQUAL(tc, 1, APR_STATUS_IS_TIMEUP(s));
- ABTS_ASSERT(tc, "Timer returned too late", end - begin - timeout < 100000);
+ ABTS_ASSERT(tc, "Timer returned too late", end - begin - timeout < 500000);
break;
}
ABTS_ASSERT(tc, "Too many retries", i < MAX_RETRY);