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.
Updated by Electric Monk about 2 years ago
- % Done changed from 0 to 100
- Status changed from New to Closed
commit 20596fe40e947343459994c3b1bcb68f7c0df52e Author: John Wren Kennedy <email@example.com> Date: 2018-05-17T13:49:34.000Z 9245 zfs-test failures: slog_013_pos and slog_014_pos Reviewed by: Matt Ahrens <firstname.lastname@example.org> Reviewed by: Chris Williamson <email@example.com> Reviewed by: Yuri Pankov <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>