summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGiuseppe Di Natale <[email protected]>2017-06-06 22:04:01 -0400
committerBrian Behlendorf <[email protected]>2017-06-06 19:04:01 -0700
commit829aaf280171db85fcc96bb19c1f403ee05b334a (patch)
tree68cdf1f609131cf1634a0d3d0e3edd87adce93d1 /tests
parentca8b210744ab7507cf7a27aeb246520d377f2fce (diff)
Skip tests that are slow on 32-bit builders
zpool_create_024_pos, zvol_misc_002_pos, write_dirs_002_pos are slow on the buildbot 32-bit builder. Skip the test cases for now on 32-bit builders. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: George Melikov <[email protected]> Signed-off-by: Giuseppe Di Natale <[email protected]> Closes #6195
Diffstat (limited to 'tests')
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_024_pos.ksh4
-rwxr-xr-xtests/zfs-tests/tests/functional/write_dirs/write_dirs_002_pos.ksh4
-rwxr-xr-xtests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_002_pos.ksh6
3 files changed, 13 insertions, 1 deletions
diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_024_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_024_pos.ksh
index 9908d0754..5b464c3c2 100755
--- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_024_pos.ksh
+++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_024_pos.ksh
@@ -39,6 +39,10 @@
verify_runnable "global"
+if is_32bit; then
+ log_unsupported "Test case runs slowly on 32 bit"
+fi
+
function cleanup
{
if [[ -n "$child_pids" ]]; then
diff --git a/tests/zfs-tests/tests/functional/write_dirs/write_dirs_002_pos.ksh b/tests/zfs-tests/tests/functional/write_dirs/write_dirs_002_pos.ksh
index 9f0b3f3cd..05fd3f4f2 100755
--- a/tests/zfs-tests/tests/functional/write_dirs/write_dirs_002_pos.ksh
+++ b/tests/zfs-tests/tests/functional/write_dirs/write_dirs_002_pos.ksh
@@ -46,6 +46,10 @@
verify_runnable "both"
+if is_32bit; then
+ log_unsupported "Test case runs slowly on 32 bit"
+fi
+
function cleanup
{
for file in `find $TESTDIR -type f`; do
diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_002_pos.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_002_pos.ksh
index 00a7ac166..c58f71f49 100755
--- a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_002_pos.ksh
+++ b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_002_pos.ksh
@@ -44,6 +44,10 @@
verify_runnable "global"
+if is_32bit; then
+ log_unsupported "Test case runs slowly on 32 bit"
+fi
+
volsize=$(zfs get -H -o value volsize $TESTPOOL/$TESTVOL)
function cleanup
@@ -88,7 +92,7 @@ done
if is_linux; then
EXIT_STATUS=4
- sync
+ log_must sync
else
EXIT_STATUS=39
log_must lockfs -f $TESTDIR