s3:tests: Improve test_force_close_share test
authorAndreas Schneider <asn@samba.org>
Wed, 2 Sep 2020 07:25:43 +0000 (09:25 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 19 Oct 2020 21:14:21 +0000 (21:14 +0000)
commit67c437bf11caf6b9ec1ead62fbc5ba0f0f10d77a
tree06b67ccc5955f9c7005dd98d30da990450087bbc
parent40a4dd286278aa1eeb609adccfee4ae13ca1ca08
s3:tests: Improve test_force_close_share test

This fixes the test with fast disks where 20MB transfers are done in
less than a second.

This also cleans up the code to have less sleeping time!

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Oct 19 21:14:21 UTC 2020 on sn-devel-184
source3/script/tests/test_force_close_share.sh
source3/selftest/tests.py