From 829aaf280171db85fcc96bb19c1f403ee05b334a Mon Sep 17 00:00:00 2001 From: Giuseppe Di Natale Date: Tue, 6 Jun 2017 22:04:01 -0400 Subject: [PATCH] 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 Reviewed-by: George Melikov Signed-off-by: Giuseppe Di Natale Closes #6195 --- .../cli_root/zpool_create/zpool_create_024_pos.ksh | 4 ++++ .../tests/functional/write_dirs/write_dirs_002_pos.ksh | 4 ++++ .../tests/functional/zvol/zvol_misc/zvol_misc_002_pos.ksh | 6 +++++- 3 files changed, 13 insertions(+), 1 deletion(-) 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