[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha2-1035-g16c60cd

Stefan Metzmacher metze at samba.org
Tue Feb 26 09:33:49 GMT 2008


The branch, v4-0-test has been updated
       via  16c60cd347a42a2d98753585cbefddc948e2860f (commit)
      from  278eea57fa9f59908672c935187f942e7780f0aa (commit)

http://gitweb.samba.org/?samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit 16c60cd347a42a2d98753585cbefddc948e2860f
Author: Stefan Metzmacher <metze at samba.org>
Date:   Tue Feb 26 10:31:37 2008 +0100

    BASE-DEFER_OPEN: be less strict with to late responses
    
    The server might be just busy.
    
    metze

-----------------------------------------------------------------------

Summary of changes:
 source/torture/basic/base.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/torture/basic/base.c b/source/torture/basic/base.c
index 42d7dda..66f9359 100644
--- a/source/torture/basic/base.c
+++ b/source/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;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list