Whamcloud - gitweb
LU-10589 tests: insulate sanity-dom from test failures 69/36369/3
authorJames Nunez <jnunez@whamcloud.com>
Fri, 4 Oct 2019 11:39:03 +0000 (05:39 -0600)
committerOleg Drokin <green@whamcloud.com>
Fri, 6 Dec 2019 06:21:03 +0000 (06:21 +0000)
The test suite sanity-dom calls two other test suites.
If one of these subtest suites has a test failure, that
failure is correctly reported as a failure, but it also
causes the last test in the subtest suite to look like
a failure.

Return zero for the subtest suites sanity and sanityn.

Test-Parameters: trivial fstype=zfs testlist=sanity-dom
Test-Parameters: fstype=ldiskfs testlist=sanity-dom
Test-Parameters: mdscount=2 mdtcount=4 fstype=zfs testlist=sanity-dom
Test-Parameters: mdscount=2 mdtcount=4 fstype=ldiskfs testlist=sanity-dom
Signed-off-by: James Nunez <jnunez@whamcloud.com>
Change-Id: I778990ad8724de182a96399cf09758edfd35b2e1
Reviewed-on: https://review.whamcloud.com/36369
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
lustre/tests/sanity-dom.sh

index f26ced7..2cfe0ee 100644 (file)
@@ -170,6 +170,8 @@ test_sanity()
        # Add 42b when LU-6493 fixed
        ONLY="36 39 40 41 42d 42e 43 46 56r 101e 119a 131 150 155a 155b 155c \
                155d 207 241 251" OSC="mdc" DOM="yes" bash sanity.sh
+
+       return 0
 }
 run_test sanity "Run sanity with Data-on-MDT files"
 
@@ -178,6 +180,8 @@ test_sanityn()
        # XXX: to fix 60
        ONLY="1 2 4 5 6 7 8 9 10 11 12 14 17 19 20 23 27 39 51a 51c 51d" \
                OSC="mdc" DOM="yes" bash sanityn.sh
+
+       return 0
 }
 run_test sanityn "Run sanityn with Data-on-MDT files"