Whamcloud - gitweb
LU-14264 tests: make PARALLEL available to all suites 63/44763/5
authorJames Nunez <jnunez@whamcloud.com>
Thu, 26 Aug 2021 23:27:16 +0000 (17:27 -0600)
committerOleg Drokin <green@whamcloud.com>
Sat, 11 Jun 2022 05:31:36 +0000 (05:31 +0000)
commitbc1d8b792ae61de6cc82175a26b097574c64eb50
treee768a5aaec4d0c6d5a0b2bbfacb63f6bddad30c9
parentb4880f37582a1a27350b4a76c08e5a7860039b06
LU-14264 tests: make PARALLEL available to all suites

The PARALLEL environment variable is checked and a default
value is set in the sanity test suite, but recovery-small
also uses PARALLEL and does not check/initialize it.

Move check and set the PARALLEL environment variable to a
default value in the init_test_env() routine in
test-framework.sh.

Fixes: 688d5da6a89 (“LU-12846 mdd: return error while delete failed”)
Fixes: 26e8f1137b8 (“LU-13116 mgc: do not lose sptlrpc config lock”)

Test-Parameters: trivial testlist=sanity,recovery-small
Signed-off-by: James Nunez <jnunez@whamcloud.com>
Change-Id: If773e2ea7300056a0ef00a2cb24e13e20a971bd6
Reviewed-on: https://review.whamcloud.com/44763
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity.sh
lustre/tests/test-framework.sh