# 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
+ if local_mode; then
+ CLIENTONLY=yes
+ stopall
+ else
+ LOAD_MODULES_REMOTE=true
+ cleanupall
+ fi
+ RESTORE_MOUNT=yes
fi
build_test_filter