diff options
author | Paul Dagnelie <[email protected]> | 2021-12-01 09:38:53 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2021-12-01 10:38:53 -0700 |
commit | 2320e6eb4302fbcf715f9e42e2fb8bb1af4ade56 (patch) | |
tree | 275f8c08fab3b4ae4b7ed3a27f6f346c324b7d42 /.github | |
parent | 861dca065e3b76c7586fbe207f02e66b640d5a12 (diff) |
Add zfs-test facility to automatically rerun failing tests
This was a project proposed as part of the Quality theme for the
hackthon for the 2021 OpenZFS Developer Summit. The idea is to improve
the usability of the automated tests that get run when a PR is created
by having failing tests automatically rerun in order to make flaky
tests less impactful.
Reviewed-by: John Kennedy <[email protected]>
Reviewed-by: Tony Nguyen <[email protected]>
Signed-off-by: Paul Dagnelie <[email protected]>
Closes #12740
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/zfs-tests-functional.yml | 2 | ||||
-rw-r--r-- | .github/workflows/zfs-tests-sanity.yml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/zfs-tests-functional.yml b/.github/workflows/zfs-tests-functional.yml index aad3d552b..46d7deace 100644 --- a/.github/workflows/zfs-tests-functional.yml +++ b/.github/workflows/zfs-tests-functional.yml @@ -64,7 +64,7 @@ jobs: sudo rm -rf "$AGENT_TOOLSDIRECTORY" - name: Tests run: | - /usr/share/zfs/zfs-tests.sh -v -s 3G + /usr/share/zfs/zfs-tests.sh -vR -s 3G - name: Prepare artifacts if: failure() run: | diff --git a/.github/workflows/zfs-tests-sanity.yml b/.github/workflows/zfs-tests-sanity.yml index 4df49461e..9e0317c9d 100644 --- a/.github/workflows/zfs-tests-sanity.yml +++ b/.github/workflows/zfs-tests-sanity.yml @@ -60,7 +60,7 @@ jobs: sudo rm -rf "$AGENT_TOOLSDIRECTORY" - name: Tests run: | - /usr/share/zfs/zfs-tests.sh -v -s 3G -r sanity + /usr/share/zfs/zfs-tests.sh -vR -s 3G -r sanity - name: Prepare artifacts if: failure() run: | |