aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2019-12-26 10:49:07 -0800
committerGitHub <[email protected]>2019-12-26 10:49:07 -0800
commit80bde2c4ba3720526bb344b4532db98c073cd6bd (patch)
treea50608da94cc54182a77ce01a6084acd95961928 /tests
parentc587b2c7d8d2f6d127fe4266eef017ab7d8b8972 (diff)
ZTS: Test case failures
* large_dnode_008_pos - Force a pool sync before invoking zdb to ensure the updated dnode blocks have been persisted to disk. * refreserv_raidz - Wait for the /dev/zvol links to be both created and removed, this is important because the same device volume names are being used repeatedly. * btree_test - Add missing .gitignore file for btree_test binary. Reviewed-by: Kjeld Schouten <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #9769
Diffstat (limited to 'tests')
-rw-r--r--tests/zfs-tests/cmd/btree_test/.gitignore1
-rwxr-xr-xtests/zfs-tests/tests/functional/features/large_dnode/large_dnode_008_pos.ksh3
-rwxr-xr-xtests/zfs-tests/tests/functional/refreserv/refreserv_raidz.ksh1
3 files changed, 4 insertions, 1 deletions
diff --git a/tests/zfs-tests/cmd/btree_test/.gitignore b/tests/zfs-tests/cmd/btree_test/.gitignore
new file mode 100644
index 000000000..73777c4c1
--- /dev/null
+++ b/tests/zfs-tests/cmd/btree_test/.gitignore
@@ -0,0 +1 @@
+/btree_test
diff --git a/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_008_pos.ksh b/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_008_pos.ksh
index eac292cbe..71e175171 100755
--- a/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_008_pos.ksh
+++ b/tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_008_pos.ksh
@@ -39,7 +39,7 @@ verify_runnable "both"
function cleanup
{
- datasetexists $TEST_FS && log_must zfs destroy $TEST_FS
+ datasetexists $TEST_FS && destroy_dataset $TEST_FS
}
function verify_dnode_packing
@@ -71,6 +71,7 @@ for ((i=0; i < 100; i++)); do
done
log_must wait
+sync_pool $TESTPOOL
verify_dnode_packing
diff --git a/tests/zfs-tests/tests/functional/refreserv/refreserv_raidz.ksh b/tests/zfs-tests/tests/functional/refreserv/refreserv_raidz.ksh
index 7b1f84afe..9f25242de 100755
--- a/tests/zfs-tests/tests/functional/refreserv/refreserv_raidz.ksh
+++ b/tests/zfs-tests/tests/functional/refreserv/refreserv_raidz.ksh
@@ -121,6 +121,7 @@ for parity in 1 2 3; do
log_must test "$deltapct" -le $maxpct
log_must_busy zfs destroy "$vol"
+ block_device_wait
done
log_must_busy zpool destroy "$TESTPOOL"