diff options
author | Ryan Moeller <[email protected]> | 2021-07-22 17:29:27 -0400 |
---|---|---|
committer | Tony Hutter <[email protected]> | 2021-09-14 12:40:45 -0700 |
commit | 729eb4866695bfeaa8f646d7608ce44f653f59e8 (patch) | |
tree | b2a78f6a01350fc0f97e27b98990ac99f07c983c /.github/workflows | |
parent | 93e11e257b9a98a93703fa74e2687a4f19538dde (diff) |
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 <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: John Kennedy <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #12411
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/zloop.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/zloop.yml b/.github/workflows/zloop.yml index 30785b145..22c02b76e 100644 --- a/.github/workflows/zloop.yml +++ b/.github/workflows/zloop.yml @@ -45,7 +45,7 @@ jobs: run: | sudo mkdir -p $TEST_DIR # run for 20 minutes to have a total runner time of 30 minutes - sudo /usr/share/zfs/zloop.sh -t 1200 -l -m1 + sudo /usr/share/zfs/zloop.sh -t 1200 -l -m1 -- -T 120 -P 60 - name: Prepare artifacts if: failure() run: | |