]> git.proxmox.com Git - mirror_zfs.git/commit - tests/runfiles/linux.run
ZTS: Fix import_cache_device_replaced
authorBrian Behlendorf <behlendorf1@llnl.gov>
Sun, 19 Aug 2018 04:16:12 +0000 (21:16 -0700)
committerGitHub <noreply@github.com>
Sun, 19 Aug 2018 04:16:12 +0000 (21:16 -0700)
commit089b16f48da2255b2c47cbab9dfbac3dcfe43ae8
treebddec333a666e30898e816cfb9b049bd7b2e57da
parenta9d6270acb7f529cb446c46b429a52631777452f
ZTS: Fix import_cache_device_replaced

Allow the 'zpool replace' to run slowly without overwhelming the vdev
queues by setting zfs_scan_vdev_limit=128k.  This limits the number of
concurrent slow IOs which need to be handled.  The net effect is the
test case runs approximately 3x faster putting it well under the 10
minute per-test time limit.

Rename import_cache* test cases to imprt_cachefile*.  Originally
these were renamed due to a maximum tar name limit, this limit was
removed by commit 1dfde3d9b.

Replaced instances of /var/tmp in zpool_import.cfg with $TEST_BASE_DIR.

Reviewed-by: bunder2015 <omfgbunder@gmail.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #7765
Closes #7802
16 files changed:
tests/runfiles/linux.run
tests/test-runner/bin/zts-report.py
tests/zfs-tests/tests/functional/cli_root/zpool_import/Makefile.am
tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cache_device_added.ksh [deleted file]
tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cache_device_removed.ksh [deleted file]
tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cache_device_replaced.ksh [deleted file]
tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cache_mirror_attached.ksh [deleted file]
tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cache_mirror_detached.ksh [deleted file]
tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cache_shared_device.ksh [deleted file]
tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_device_added.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_device_removed.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_device_replaced.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_mirror_attached.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_mirror_detached.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_shared_device.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import.cfg