X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Flnet-selftest.sh;h=6b0dd0236d0897578d5f5cc7730a8b8780c22ce5;hb=88e555dbabfc35521345851ff41516156217b1ec;hp=58e73f4890cb4ce5a9e4eb859d95c0886910d22e;hpb=dee5f24114531ec34fc56ce2826ada9e5690aabc;p=fs%2Flustre-release.git diff --git a/lustre/tests/lnet-selftest.sh b/lustre/tests/lnet-selftest.sh index 58e73f4..6b0dd02 100755 --- a/lustre/tests/lnet-selftest.sh +++ b/lustre/tests/lnet-selftest.sh @@ -11,6 +11,11 @@ init_logging # ALWAYS_EXCEPT="$ALWAYS_EXCEPT $LNET_SELFTEST_EXCEPT" +if [[ $MDSCOUNT -ge 2 ]]; then + #LU-4181 + skip "Only run with single MDT for now" && exit +fi + [ x$LST = x ] && { skip_env "lst not found LST=$LST" && exit 0; } # FIXME: what is the reasonable value here? @@ -51,9 +56,10 @@ 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 - stopall - RESTORE_MOUNT=yes + local_mode && CLIENTONLY=yes + RESTORE_MOUNT=yes + LOAD_MODULES_REMOTE=true + cleanupall fi build_test_filter