Modifying the ALWAYS_EXCEPT assignment in mds-survey.sh does not take
effect, because the test filters have already been built. This patch
moves the build_test_filter() call below the ALWAYS_EXCEPT assignment.
Also moved downward is the check_and_setup_lustre() call, which
usually goes after environment checks.
Test-Parameters: testlist=mds-survey
Change-Id: I547310e4fccfaaa4fbe7010e14baefa2ab9bbdd4
Signed-off-by: Li Wei <liwei@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/3183
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Reviewed-by: wangdi <di.wang@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
. ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh}
init_logging
-build_test_filter
-check_and_setup_lustre
-
file_count=${file_count:-150000}
dir_count=${dir_count:-4}
thrhi=${thrhi:-8}
skip_env "mds-survey not found" && exit
fi
+build_test_filter
+check_and_setup_lustre
+
adjust_inode() {
local require_inode=0
local avail_mdt_inode=0