mirror_zfs/tests/zfs-tests/tests/functional/pool_checkpoint
Brian Behlendorf ec580225d2
ZTS: pool_checkpoint improvements
The pool_checkpoint tests may incorrectly fail because several of
them invoke zdb for an imported pool.  In this scenario it's not
unexpected for zdb to fail if the pool is modified.  To resolve
this these zdb checks are now done after the pool has been exported.

Additionally, the default cleanup functions assumed the pool would
be imported when they were run.  If this was not the case they're
exit early and fail to cleanup all of the test state causing
subsequent tests to fail.  Add a check to only destroy the pool
when it is imported.

Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Serapheim Dimitropoulos <serapheim@delphix.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #11832
2021-04-03 08:33:22 -07:00
..
checkpoint_after_rewind.ksh OpenZFS 9166 - zfs storage pool checkpoint 2018-06-26 10:07:42 -07:00
checkpoint_big_rewind.ksh ZTS: pool_checkpoint improvements 2021-04-03 08:33:22 -07:00
checkpoint_capacity.ksh ZTS: pool_checkpoint improvements 2021-04-03 08:33:22 -07:00
checkpoint_conf_change.ksh OpenZFS 9166 - zfs storage pool checkpoint 2018-06-26 10:07:42 -07:00
checkpoint_discard_busy.ksh ZTS: pool_checkpoint improvements 2021-04-03 08:33:22 -07:00
checkpoint_discard_many.ksh OpenZFS 9166 - zfs storage pool checkpoint 2018-06-26 10:07:42 -07:00
checkpoint_discard.ksh OpenZFS 9166 - zfs storage pool checkpoint 2018-06-26 10:07:42 -07:00
checkpoint_indirect.ksh OpenZFS 9166 - zfs storage pool checkpoint 2018-06-26 10:07:42 -07:00
checkpoint_invalid.ksh OpenZFS 9166 - zfs storage pool checkpoint 2018-06-26 10:07:42 -07:00
checkpoint_lun_expsz.ksh OpenZFS 9166 - zfs storage pool checkpoint 2018-06-26 10:07:42 -07:00
checkpoint_open.ksh OpenZFS 9166 - zfs storage pool checkpoint 2018-06-26 10:07:42 -07:00
checkpoint_removal.ksh Fix typos in tests/ 2019-09-02 18:08:56 -07:00
checkpoint_rewind.ksh OpenZFS 9166 - zfs storage pool checkpoint 2018-06-26 10:07:42 -07:00
checkpoint_ro_rewind.ksh OpenZFS 9166 - zfs storage pool checkpoint 2018-06-26 10:07:42 -07:00
checkpoint_sm_scale.ksh Update vdev_is_spacemap_addressable() for new spacemap encoding 2019-01-16 15:06:20 -08:00
checkpoint_twice.ksh OpenZFS 9166 - zfs storage pool checkpoint 2018-06-26 10:07:42 -07:00
checkpoint_vdev_add.ksh OpenZFS 9166 - zfs storage pool checkpoint 2018-06-26 10:07:42 -07:00
checkpoint_zdb.ksh zdb -k does not work on Linux when used with -e 2018-10-30 11:46:18 -05:00
checkpoint_zhack_feat.ksh OpenZFS 9166 - zfs storage pool checkpoint 2018-06-26 10:07:42 -07:00
cleanup.ksh OpenZFS 9166 - zfs storage pool checkpoint 2018-06-26 10:07:42 -07:00
Makefile.am OpenZFS 9166 - zfs storage pool checkpoint 2018-06-26 10:07:42 -07:00
pool_checkpoint.kshlib ZTS: pool_checkpoint improvements 2021-04-03 08:33:22 -07:00
setup.ksh OpenZFS 9166 - zfs storage pool checkpoint 2018-06-26 10:07:42 -07:00