1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

s4:torture/fruit: avoid sleep(10000000); if write_stream() fails

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Stefan Metzmacher 2020-12-08 15:47:53 +01:00 committed by Jeremy Allison
parent 21853468b8
commit f9b2559c42

View File

@ -1962,9 +1962,8 @@ static bool write_stream(struct smb2_tree *tree,
if (value == NULL) { if (value == NULL) {
return true; return true;
} else { } else {
torture_comment(tctx, "Unable to open stream %s\n", torture_comment(tctx, "Unable to open stream %s: %s\n",
full_name); full_name, nt_errstr(status));
sleep(10000000);
return false; return false;
} }
} }