]> granicus.if.org Git - zfs/commitdiff
Skip tests that are slow on 32-bit builders
authorGiuseppe Di Natale <dinatale2@users.noreply.github.com>
Wed, 7 Jun 2017 02:04:01 +0000 (22:04 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 7 Jun 2017 02:04:01 +0000 (19:04 -0700)
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 <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Closes #6195

tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_024_pos.ksh
tests/zfs-tests/tests/functional/write_dirs/write_dirs_002_pos.ksh
tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_002_pos.ksh

index 9908d0754ffeb8bb8bea0b88e0fb45997342b785..5b464c3c248bf99f7dc78c89634440ff6be42a52 100755 (executable)
 
 verify_runnable "global"
 
+if is_32bit; then
+       log_unsupported "Test case runs slowly on 32 bit"
+fi
+
 function cleanup
 {
        if [[ -n "$child_pids" ]]; then
index 9f0b3f3cdc87c875095e8794ab0cad7cfccb2db2..05fd3f4f2e9a1379b11f502f69b13315d8afff76 100755 (executable)
 
 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
index 00a7ac166316d67304acbc4fe3f42af936ff4c1c..c58f71f496660fec33c615501b2125196763cf0c 100755 (executable)
 
 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