This copes with cases where the server is very busy and
can't provide tortures more tight time scaling..
This is an attepmt to remove the flapping character of this test.
Signed-off-by: Michael Adam <obnox@samba.org>
Revieed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Sep 10 21:51:42 CEST 2014 on sn-devel-104
torture_comment(tctx, "pid %u: create[%d,%d] "
"time elapsed: %.2f (1 sec = %.2f)\n",
(unsigned)getpid(), i, j, e, sec);
- if (e < (0.5 * sec) || e > ((1.5 * sec) + 1)) {
+ if (e < (0.5 * sec) || e > ((1.5 * sec) + 1.5)) {
torture_comment(tctx, "pid %u: create[%d,%d] "
"timing incorrect\n",
(unsigned)getpid(), i, j);