]> git.proxmox.com Git - mirror_zfs.git/commitdiff
ZTS: Test case failures
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 26 Dec 2019 18:49:07 +0000 (10:49 -0800)
committerGitHub <noreply@github.com>
Thu, 26 Dec 2019 18:49:07 +0000 (10:49 -0800)
* 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 <kjeld@schouten-lebbing.nl>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #9769

tests/zfs-tests/cmd/btree_test/.gitignore [new file with mode: 0644]
tests/zfs-tests/tests/functional/features/large_dnode/large_dnode_008_pos.ksh
tests/zfs-tests/tests/functional/refreserv/refreserv_raidz.ksh

diff --git a/tests/zfs-tests/cmd/btree_test/.gitignore b/tests/zfs-tests/cmd/btree_test/.gitignore
new file mode 100644 (file)
index 0000000..73777c4
--- /dev/null
@@ -0,0 +1 @@
+/btree_test
index eac292cbe064cda91647e8468eae5e8673d6b8a5..71e17517132258d46713221ba67e8b4480f99a8f 100755 (executable)
@@ -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
 
index 7b1f84afe251f13702b1dcf28922b93b5a08e80f..9f25242de607c6ca937b2ead40cf6fe4e722badd 100755 (executable)
@@ -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"