mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s3: tests: Slight tweak to the force-close share test.
Turns out on a fast desktop machine 10MB is too small, and by the time we've done the 'sleep 1' to make sure the smbclient got scheduled and started processing the 'put' command, it's already done. Tweak the file size to be 20MB from 10MB. 10MB seems to work reliably on gitlab-ci and on sn-devel, but making the put size 20MB makes sure it's still in flight when we force-close the share, even on a fast desktop box. 20MB shouldn't be too burdonsome even on ci VM's. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14301 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
319c93f0c6
commit
566658d914
@ -32,7 +32,7 @@ mkfifo smbclient-stdin smbclient-stdout smbclient-stderr
|
||||
|
||||
# Create a large-ish testfile
|
||||
rm testfile
|
||||
head -c 10MB /dev/zero >testfile
|
||||
head -c 20MB /dev/zero >testfile
|
||||
|
||||
CLI_FORCE_INTERACTIVE=1; export CLI_FORCE_INTERACTIVE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user