From: Abrarahmed Momin Date: Sat, 2 Apr 2016 03:25:37 +0000 (+0530) Subject: LU-7776 tests: lnet-selftest.sh local_mode failure X-Git-Tag: 2.8.55~37 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=84030bf26c1763edf9ac17a8cd2765e9163294bf LU-7776 tests: lnet-selftest.sh local_mode failure Update lnet-selftest to call stopall for local_mode and cleanupall otherwise. Signed-off-by: Abrarahmed Momin Change-Id: I5dff3df8b45afc4a582556f7dd6bc92409efd380 Reviewed-on: http://review.whamcloud.com/19308 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Doug Oucharek --- diff --git a/lustre/tests/lnet-selftest.sh b/lustre/tests/lnet-selftest.sh index 6b0dd02..a1c525d 100755 --- a/lustre/tests/lnet-selftest.sh +++ b/lustre/tests/lnet-selftest.sh @@ -56,10 +56,14 @@ fi # 2) it's theoretically possible that lst tests congest comm paths so tightly # that mounted lustre wouldn't able to perform some of its background activities if is_mounted $MOUNT || is_mounted $MOUNT2; then - local_mode && CLIENTONLY=yes + if local_mode; then + CLIENTONLY=yes + stopall + else + LOAD_MODULES_REMOTE=true + cleanupall + fi RESTORE_MOUNT=yes - LOAD_MODULES_REMOTE=true - cleanupall fi build_test_filter