Skip to content

Commit

Permalink
ZTS: Retry redundancy_draid_spare[1,3].ksh
Browse files Browse the repository at this point in the history
The redundancy_draid_spare1.ksh and redundancy_draid_spare3.ksh test
cases are a little to strict for the sequential resilver case.  While
unlikely it is possible that a handful of correctable checksum errors
will be reported resulting in a test failure.  Update the zts-report.py
script to allow this the test case to be retried if requested.

Reviewed-by: George Melikov <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes openzfs#13318
  • Loading branch information
behlendorf authored and andrewc12 committed Sep 23, 2022
1 parent 63b28df commit 3100461
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion tests/test-runner/bin/zts-report.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,8 @@ maybe = {
'pool_checkpoint/checkpoint_discard_busy': ['FAIL', 11946],
'projectquota/setup': ['SKIP', exec_reason],
'redundancy/redundancy_004_neg': ['FAIL', 7290],
'redundancy/redundancy_draid_spare3': ['SKIP', known_reason],
'redundancy/redundancy_draid_spare1': ['FAIL', known_reason],
'redundancy/redundancy_draid_spare3': ['FAIL', known_reason],
'removal/removal_condense_export': ['FAIL', known_reason],
'reservation/reservation_008_pos': ['FAIL', 7741],
'reservation/reservation_018_pos': ['FAIL', 5642],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ function cleanup_tunable

log_onexit cleanup_tunable

if is_kmemleak; then
log_unsupported "Test case runs slowly when kmemleak is enabled"
fi

#
# Disable scrubbing after a sequential resilver to verify the resilver
# alone is able to reconstruct the data without the help of a scrub.
Expand Down

0 comments on commit 3100461

Please sign in to comment.