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:
Chunwei Chen 2017-01-21 10:54:06 -08:00 committed by Brian Behlendorf
parent 10a3f88859
commit 1b61fa935c
6 changed files with 16 additions and 15 deletions

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"
#

View File

@ -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