diff options
author | Ryan Moeller <ryan@iXsystems.com> | 2021-07-22 21:29:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-22 21:29:27 +0000 |
commit | 14b43fbd9c13d802409ed886bb6b66fd528fb209 (patch) | |
tree | effdf9cb5c414a516490952303f5c948ed170dbe /sys/contrib/openzfs/module | |
parent | 46197dc85892fc15a21b409dc78054a28ac85d6e (diff) | |
download | src-14b43fbd9c13d802409ed886bb6b66fd528fb209.tar.gz src-14b43fbd9c13d802409ed886bb6b66fd528fb209.zip |
zloop: Add a max iterations option, use default run/pass times
It is useful to have control over the number of iterations of zloop so
we can easily produce "x core dumps found *in y iterations*" metrics.
Using random values for run/pass times doesn't improve coverage in a
meaningful way.
Randomizing run time could be seen as a compromise between running a
greater variety of shorter tests versus a smaller variety of longer
tests within a fixed time span. However, it is not desirable when
running a fixed number of iterations.
Pass time already incorporates randomness within ztest.
Either parameter can be passed to ztest explicitly if the defaults are
not satisfactory.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #12411
Diffstat (limited to 'sys/contrib/openzfs/module')
0 files changed, 0 insertions, 0 deletions