HomeFreeBSD

ZTS: speed up rsend tests

Description

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

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Dec 17 2021, 11:29 PM
Tony Hutter <hutter2@llnl.gov>Committed on Feb 17 2022, 1:58 AM
Parents
rGbe01ee8629dc: ZTS: rsend_007_pos failures
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rG1fb5566a254e: ZTS: speed up rsend tests (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Feb 17 2022, 1:58 AM