Skip to content

Commit 523e3ad

Browse files
authored
suspend_resume_single: clear pool errors on fail
If the timing is unfortunate, the pool can suspend just as we're failing because it didn't suspend. If we don't resume the pool, we hang trying to destroy it. Sponsored-by: Klara, Inc. Sponsored-by: Wasabi Technology, Inc. Reviewed-by: Alexander Motin <[email protected]> Signed-off-by: Rob Norris <[email protected]> Closes #17054
1 parent ecc44c4 commit 523e3ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/zfs-tests/tests/functional/fault/suspend_resume_single.ksh

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ DATAFILE="$TMPDIR/datafile"
3030

3131
function cleanup
3232
{
33+
zpool clear $TESTPOOL
3334
destroy_pool $TESTPOOL
3435
unload_scsi_debug
3536
rm -f $DATA_FILE

0 commit comments

Comments
 (0)