mirror of
https://github.com/samba-team/samba.git
synced 2025-12-06 16:23:49 +03:00
BASE-DEFER_OPEN: be less strict with to late responses
The server might be just busy. metze
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user