Skip to content

Commit

Permalink
Skip zed_slow_io tests on Ubuntu
Browse files Browse the repository at this point in the history
to rule out the cause of auto_spare test failing

Signed-off-by: Don Brady <don.brady@klarasystems.com>
  • Loading branch information
don-brady committed Feb 5, 2024
1 parent 5369043 commit 84dfec5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/zfs-tests/tests/functional/events/zed_slow_io.ksh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ OLD_SLOW_IO_EVENTS=$(get_tunable SLOW_IO_EVENTS_PER_SECOND)

verify_runnable "both"

#
# DEBUG ONLY -- skip test on ubuntu
#
if [[ $(grep "ID=ubuntu" /etc/os-release) = "ID=ubuntu" ]]; then
log_pass "skipped for Ubuntu -- Test ZED slow io across multiple vdevs"
fi


function do_setup
{
log_must truncate -s 1G $VDEV
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ OLD_SLOW_IO_EVENTS=$(get_tunable SLOW_IO_EVENTS_PER_SECOND)

verify_runnable "both"

#
# DEBUG ONLY -- skip test on ubuntu
#
if [[ $(grep "ID=ubuntu" /etc/os-release) = "ID=ubuntu" ]]; then
log_pass "skipped for Ubuntu -- Test ZED slow io across multiple vdevs"
fi

function cleanup
{
log_must zinject -c all
Expand Down

0 comments on commit 84dfec5

Please sign in to comment.