]> git.proxmox.com Git - mirror_zfs.git/commit
ZTS: Fix removal_resume_export
authorLOLi <loli10K@users.noreply.github.com>
Mon, 24 Sep 2018 19:58:16 +0000 (21:58 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 24 Sep 2018 19:58:16 +0000 (12:58 -0700)
commit36e369ecb847570d6939073663c4e95406223c7f
treeda4961223fae5c75c7b66265caef6655f1514bb4
parentb8fd4310c54444eecb66140d99a6156f4353b29b
ZTS: Fix removal_resume_export

This change simplify the test case removing part of the logic which was
introducing a race condition and thus causing spurious failures: we use
attempt_during_removal() from removal.kshlib instead which has been
observed to be more stable.

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #7894
Closes #7913
tests/test-runner/bin/zts-report.py
tests/zfs-tests/tests/functional/removal/removal_resume_export.ksh