]> granicus.if.org Git - zfs/commit
ZTS: fix wait_scrubbed()
authorTom Caputi <tcaputi@datto.com>
Fri, 14 Dec 2018 18:06:49 +0000 (13:06 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 14 Dec 2018 18:06:49 +0000 (10:06 -0800)
commit7c46894081300410612a34f7c05377848b277dab
treee87c1b7208702558eab60184cfe6886355b78145
parent2a6078450db6437863f5ce32cfbb06f82e1beae7
ZTS: fix wait_scrubbed()

Currently, wait_scrubbed() is the only function of its kind that
accepts a timeout, which is 10s by default. This timeout is pretty
short for a scrub and causes test failures if we run too long. This
patch removes the timeout, instead leaning on the global test suite
timeout to ensure the tests keep moving.

Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #8210
tests/zfs-tests/include/libtest.shlib
tests/zfs-tests/tests/functional/fault/scrub_after_resilver.ksh