From 196e7c76174b50df4ab54f0b41a58e5659e15a48 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 12 May 2022 09:11:29 -0700 Subject: [PATCH] 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 Reviewed-by: Tony Hutter Signed-off-by: Brian Behlendorf Closes #13453 --- .github/workflows/zloop.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/zloop.yml b/.github/workflows/zloop.yml index 8eb2a1d9bb0f..d49eeae1653c 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: |