mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
Partial revert "Disable slow tests for kmemleak"
Enable zpool_clear_001_pos, zpool_create_024_pos and inherit_001_pos. These are no longer slow. Also disable zfs_destroy_001_pos, zfs_allow_010_pos and snapused_004_pos, as they fail very often. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Chunwei Chen <david.chen@osnexus.com> Closes #5613
This commit is contained in:
parent
10a3f88859
commit
1b61fa935c
@ -48,6 +48,11 @@
|
||||
|
||||
verify_runnable "both"
|
||||
|
||||
# See issue: https://github.com/zfsonlinux/zfs/issues/5479
|
||||
if is_kmemleak; then
|
||||
log_unsupported "Test case often fail when kmemleak is enabled"
|
||||
fi
|
||||
|
||||
#
|
||||
# According to parameters, 1st, create suitable testing environment. 2nd,
|
||||
# run 'zfs destroy $opt <dataset>'. 3rd, check the system status.
|
||||
|
@ -45,11 +45,6 @@
|
||||
|
||||
verify_runnable "global"
|
||||
|
||||
# See issue: https://github.com/zfsonlinux/zfs/issues/5479
|
||||
if is_kmemleak; then
|
||||
log_unsupported "Test case runs slowly when kmemleak is enabled"
|
||||
fi
|
||||
|
||||
function cleanup
|
||||
{
|
||||
poolexists $TESTPOOL1 && \
|
||||
@ -60,6 +55,7 @@ function cleanup
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
log_assert "Verify 'zpool clear' can clear errors of a storage pool."
|
||||
log_onexit cleanup
|
||||
|
||||
|
@ -39,11 +39,6 @@
|
||||
|
||||
verify_runnable "global"
|
||||
|
||||
# See issue: https://github.com/zfsonlinux/zfs/issues/5479
|
||||
if is_kmemleak; then
|
||||
log_unsupported "Test case runs slowly when kmemleak is enabled"
|
||||
fi
|
||||
|
||||
function cleanup
|
||||
{
|
||||
if [[ -n "$child_pids" ]]; then
|
||||
|
@ -44,6 +44,11 @@
|
||||
|
||||
verify_runnable "both"
|
||||
|
||||
# See issue: https://github.com/zfsonlinux/zfs/issues/5479
|
||||
if is_kmemleak; then
|
||||
log_unsupported "Test case often fail when kmemleak is enabled"
|
||||
fi
|
||||
|
||||
log_assert "Verify privileged user has correct permissions once which was "\
|
||||
"delegated to him in datasets"
|
||||
log_onexit restore_root_datasets
|
||||
|
@ -45,11 +45,6 @@
|
||||
|
||||
verify_runnable "global"
|
||||
|
||||
# See issue: https://github.com/zfsonlinux/zfs/issues/5479
|
||||
if is_kmemleak; then
|
||||
log_unsupported "Test case runs slowly when kmemleak is enabled"
|
||||
fi
|
||||
|
||||
log_assert "Test properties are inherited correctly"
|
||||
|
||||
#
|
||||
|
@ -51,6 +51,11 @@
|
||||
|
||||
verify_runnable "both"
|
||||
|
||||
# See issue: https://github.com/zfsonlinux/zfs/issues/5479
|
||||
if is_kmemleak; then
|
||||
log_unsupported "Test case often fail when kmemleak is enabled"
|
||||
fi
|
||||
|
||||
function cleanup
|
||||
{
|
||||
log_must $ZFS destroy -rR $USEDTEST
|
||||
|
Loading…
Reference in New Issue
Block a user