summaryrefslogtreecommitdiff
path: root/source4/torture/basic
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-09-10 01:03:57 +0200
committerJeremy Allison <jra@samba.org>2014-09-10 21:51:42 +0200
commitc7c1f6490e04e24544c663a73261b4e680252af9 (patch)
tree5fcb0d004e083af996a7cf1dab2045805cc333b0 /source4/torture/basic
parent8ae8c63da19459fd4f1166e11406da2c919b7ed0 (diff)
downloadsamba-c7c1f6490e04e24544c663a73261b4e680252af9.tar.gz
s4:torture:base: slightly more generous timing in the defer_open test
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
Diffstat (limited to 'source4/torture/basic')
-rw-r--r--source4/torture/basic/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/basic/base.c b/source4/torture/basic/base.c
index bd9a304f943..6a792b2781f 100644
--- a/source4/torture/basic/base.c
+++ b/source4/torture/basic/base.c
@@ -697,7 +697,7 @@ static bool run_deferopen(struct torture_context *tctx, struct smbcli_state *cli
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);