s3: tests: Slight tweak to the force-close share test.
authorJeremy Allison <jra@samba.org>
Fri, 13 Mar 2020 22:45:16 +0000 (15:45 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 18 Mar 2020 18:03:28 +0000 (18:03 +0000)
commit566658d914176c41942e3c6aba404ae369aeb123
treeb45853c829aacdf3b676871ff3c3005f21fc622b
parent319c93f0c6a949545229b616dfbd4f51baf11171
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>
source3/script/tests/test_force_close_share.sh