diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-02-26 10:31:37 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-02-26 10:31:37 +0100 |
commit | db2a2382d1dfcb9ace4621368feebd700b598625 (patch) | |
tree | 2ea032d85e5689b461b2d75a6d8a87a5a8416db0 /source4 | |
parent | 9ddbdfa02cfaa0df6ce944d6dfecf6850ab0b2f8 (diff) | |
download | samba-db2a2382d1dfcb9ace4621368feebd700b598625.tar.gz samba-db2a2382d1dfcb9ace4621368feebd700b598625.tar.bz2 samba-db2a2382d1dfcb9ace4621368feebd700b598625.zip |
BASE-DEFER_OPEN: be less strict with to late responses
The server might be just busy.
metze
(This used to be commit 16c60cd347a42a2d98753585cbefddc948e2860f)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/basic/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/basic/base.c b/source4/torture/basic/base.c index 42d7ddaaa1..66f9359744 100644 --- a/source4/torture/basic/base.c +++ b/source4/torture/basic/base.c @@ -664,7 +664,7 @@ static bool run_deferopen(struct torture_context *tctx, struct smbcli_state *cli } if (NT_STATUS_EQUAL(smbcli_nt_error(cli->tree),NT_STATUS_SHARING_VIOLATION)) { double e = timeval_elapsed(&tv); - if (e < (0.5 * sec) || e > (1.5 * sec)) { + if (e < (0.5 * sec) || e > ((1.5 * sec) + 1)) { torture_comment(tctx,"Timing incorrect %.2f violation 1 sec == %.2f\n", e, sec); return false; |