ZTS: speed up rsend tests
commitff1acbac3035cc9d208f33d15b6025949f1fe0bf
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 17 Dec 2021 23:29:23 +0000 (17 23:29 +0000)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 21 Dec 2021 19:12:38 +0000 (21 11:12 -0800)
treeecc25f22f7de2900cf5d86bbba099f3f95c307eb
parent7b5d783a46bc5419e8bc7415f9424e7722425978
ZTS: speed up rsend tests

With some minor tweaks several of rsend tests can be sped up
considerably without significantly reducing test coverage.

* send-c_verify_ratio:  ~120s -> ~60s
* send_realloc_*_files: ~330s -> ~65s

For the send_realloc* tests this also has the advantage of removing
(most of) the linux/freebsd conditional logic.  Note that for this
test more passes, and thus more incremental send/recvs, are preferable
to a larger number of files.

Total run time of the rsend test group was reduced from roughly 20 to
11 minutes in an environment similar to what's used by the CI.

Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #12876
tests/zfs-tests/tests/functional/rsend/send-c_verify_ratio.ksh
tests/zfs-tests/tests/functional/rsend/send_realloc_encrypted_files.ksh
tests/zfs-tests/tests/functional/rsend/send_realloc_files.ksh