summaryrefslogtreecommitdiff
path: root/test/testlock.c
diff options
context:
space:
mode:
authorjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2017-09-19 16:38:40 +0000
committerjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2017-09-19 16:38:40 +0000
commitfcd698a2645b226122a42567c5419bb48bff3b23 (patch)
tree28f2e532514367f40a66926b6b468bf936805da0 /test/testlock.c
parent6b05a8c97eabbef41cab4acca405fa383fd3213c (diff)
downloadlibapr-fcd698a2645b226122a42567c5419bb48bff3b23.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: http://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);