From: Kit Westneat Date: Sat, 7 Feb 2015 08:38:42 +0000 (-0800) Subject: LU-6082 tests: fix too slow nodemap SLOW test X-Git-Tag: 2.6.94~2 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=eaf686e31903057aef2ad855fb2133a285a9f08a;p=fs%2Flustre-release.git LU-6082 tests: fix too slow nodemap SLOW test The SLOW test for nodemap is too slow to complete. This patch changes the test to do 000-007, 010-070, 100-700 (octal) instead of testing all modes, as was done before. Test-Parameters: alwaysuploadlogs envdefinitions=SLOW=yes \ mdtfilesystemtype=ldiskfs mdsfilesystemtype=ldiskfs ostfilesystemtype=ldiskfs \ mdtcount=1 testlist=sanity-sec Signed-off-by: Kit Westneat Change-Id: Ic92a3718de078ccfd13cf0b6580ab078dfedb144 Reviewed-on: http://review.whamcloud.com/13605 Tested-by: Jenkins Reviewed-by: Andreas Dilger Reviewed-by: Jian Yu Tested-by: Maloo --- diff --git a/lustre/tests/sanity-sec.sh b/lustre/tests/sanity-sec.sh index 9c5bda2..b50bf96 100644 --- a/lustre/tests/sanity-sec.sh +++ b/lustre/tests/sanity-sec.sh @@ -1417,7 +1417,10 @@ test_fops() { local mds_i local rc=0 local perm_bit_list="0 3 $((0300)) $((0303))" - [ "$SLOW" == "yes" ] && perm_bit_list=$(seq 0 511) + # SLOW tests 000-007, 010-070, 100-700 (octal modes) + [ "$SLOW" == "yes" ] && + perm_bit_list="0 $(seq 1 7) $(seq 8 8 63) $(seq 64 64 511) \ + $((0303))" # step through mds users. -1 means root for mds_i in -1 0 1 2; do