zfs/tests/zfs-tests/include
John Wren Kennedy ab44e511e2 OpenZFS 9245 - zfs-test failures: slog_013_pos and slog_014_pos
Test 13 would fail because of attempts to zpool destroy -f a pool that
was still busy. Changed those calls to destroy_pool which does a retry
loop, and the problem is no longer reproducible. Also removed some non
functional code in the test which is why it was originally commented out
by placing it after the call to log_pass.

Test 14 would fail because sometimes the check for a degraded pool would
complete before the pool had changed state. Changed the logic to check
in a loop with a timeout and the problem is no longer reproducible.

Authored by: John Wren Kennedy <john.kennedy@delphix.com>
Reviewed by: Matt Ahrens <matt@delphix.com>
Reviewed by: Chris Williamson <chris.williamson@delphix.com>
Reviewed by: Yuri Pankov <yuripv@yuripv.net>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Approved by: Dan McDonald <danmcd@joyent.com>
Ported-by: Brian Behlendorf <behlendorf1@llnl.gov>

Porting Notes:
* Re-enabled slog_013_pos.ksh

OpenZFS-issue: https://illumos.org/issues/9245
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/8f323b5
Closes #7585
2018-06-04 14:55:02 -07:00
..
.gitignore Add zpool events tests 2017-05-22 12:34:42 -04:00
Makefile.am Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
blkdev.shlib zdb and inuse tests don't pass with real disks 2018-03-07 17:03:33 -08:00
commands.cfg Profiling for perf tests 2018-05-22 10:51:46 -07:00
default.cfg.in Emit history events for 'zpool create' 2017-10-23 09:45:59 -07:00
libtest.shlib OpenZFS 9245 - zfs-test failures: slog_013_pos and slog_014_pos 2018-06-04 14:55:02 -07:00
math.shlib Fix dbufstats_001_pos 2018-03-07 09:53:04 -08:00
properties.shlib Disable nbmand tests on kernels w/o support 2017-07-24 11:03:50 -07:00
zpool_script.shlib Clean up (k)shlib and cfg file shebangs 2018-04-08 19:37:22 -07:00