From 1140d209f0fb7a9200cc9c6d03553d02035ad6b8 Mon Sep 17 00:00:00 2001 From: James Nunez Date: Fri, 4 Oct 2019 05:39:03 -0600 Subject: [PATCH] LU-10589 tests: insulate sanity-dom from test failures 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 Change-Id: I778990ad8724de182a96399cf09758edfd35b2e1 Reviewed-on: https://review.whamcloud.com/36369 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Mike Pershin --- lustre/tests/sanity-dom.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lustre/tests/sanity-dom.sh b/lustre/tests/sanity-dom.sh index f26ced7..2cfe0ee 100644 --- a/lustre/tests/sanity-dom.sh +++ b/lustre/tests/sanity-dom.sh @@ -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" -- 1.8.3.1