diff options
author | Brian Behlendorf <[email protected]> | 2022-05-12 09:11:29 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2022-05-12 09:11:29 -0700 |
commit | 196e7c76174b50df4ab54f0b41a58e5659e15a48 (patch) | |
tree | 0ef4b09c4a44f3828962aefd2975275f04c40a68 | |
parent | bd88c036e61811ced1d8d3dfa89d590b9aa133a6 (diff) |
ztest: reduce runtile of zloop.sh in CI
The zloop.sh script is primarily designed to randomly stress
the DMU and SPA layers. This can result in some unrealistic
(or even impossible) scenarios being tested which then fail.
Since the longer we run zloop.sh the more likely this is to occur
this commit reduces the runtime. The intention being that normally
this will result in a clean CI run unless the PR does introduce
serious breaking change.
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Tony Hutter <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #13453
-rw-r--r-- | .github/workflows/zloop.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/zloop.yml b/.github/workflows/zloop.yml index 8eb2a1d9b..d49eeae16 100644 --- a/.github/workflows/zloop.yml +++ b/.github/workflows/zloop.yml @@ -38,8 +38,9 @@ jobs: - name: Tests 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 -- -T 120 -P 60 + # run for 10 minutes or at most 2 iterations for a maximum runner + # time of 20 minutes. + sudo /usr/share/zfs/zloop.sh -t 600 -I 2 -l -m1 -- -T 120 -P 60 - name: Prepare artifacts if: failure() run: | |