HomeFreeBSD

ZTS: Fix snapshot_009_pos, snapshot_010_pos

Description

ZTS: Fix snapshot_009_pos, snapshot_010_pos

Mitigate the likelihood of the newly created volumes being busy
when the 'zfs destroy -r' is issued by waiting for udev to settle.
Since this is not a iron clad fix I've added the test case to
the known list of possible failures and referenced issue #7961.

Finally, in the case this test does fail fix the cleanup logic
so subsequent tests won't incorrectly fail.

Reviewed-by: Giuseppe Di Natale <guss80@gmail.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #7961
Closes #7962

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Oct 2 2018, 12:15 AM
GitHub <noreply@github.com>Committed on Oct 2 2018, 12:15 AM
Parents
rG424fd7c3e080: Prefix all refcount functions with zfs_
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG838bd5ff35db: ZTS: Fix snapshot_009_pos, snapshot_010_pos (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Oct 2 2018, 12:15 AM