Whamcloud - gitweb
LU-17761 tests: make sanity-compr sanity/sanityn return 0 55/54855/2
authorJian Yu <yujian@whamcloud.com>
Fri, 19 Apr 2024 18:54:04 +0000 (11:54 -0700)
committerOleg Drokin <green@whamcloud.com>
Tue, 21 May 2024 18:40:10 +0000 (18:40 +0000)
commit1fcfd6e62e80673ecadda43e22892867bd60fd02
tree7c846a4b6bff2ecda1e43fc297f2fd3506bed902
parentd26f2a53b66efdb0dfe374da5e25a99489b55add
LU-17761 tests: make sanity-compr sanity/sanityn return 0

While running sanity-compr sanity/sanityn, if there was
sub-subtest failure, the sanity/sanityn test_cleanup would
be incorrectly marked as FAIL.

We should leave it to the individual sanity/sanityn subtests
to mark their failures, test_sanity() and test_sanityn()
should not also return an error.

Change-Id: I1fd645b80b92e583f1a564f85e6d2d6d871b8fa8
Test-Parameters: trivial testlist=sanity-compr
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54855
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Artem Blagodarenko <ablagodarenko@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/sanity-compr.sh