git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ddbdfa
)
BASE-DEFER_OPEN: be less strict with to late responses
author
Stefan Metzmacher
<metze@samba.org>
Tue, 26 Feb 2008 09:31:37 +0000
(10:31 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 26 Feb 2008 09:31:37 +0000
(10:31 +0100)
The server might be just busy.
metze
(This used to be commit
16c60cd347a42a2d98753585cbefddc948e2860f
)
source4/torture/basic/base.c
patch
|
blob
|
history
diff --git
a/source4/torture/basic/base.c
b/source4/torture/basic/base.c
index 42d7ddaaa12e4c60c7a6a4c181e227eb51434b0b..66f9359744d5b6217cf42c016942bb5ccf94fa5d 100644
(file)
--- 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;