From f4d243ae8bf1715538d1186f5978412f68dd5af1 Mon Sep 17 00:00:00 2001 From: Lai Siyao Date: Tue, 30 Jun 2020 20:19:32 +0800 Subject: [PATCH] LU-13481 test: run sanity 33h with more files Run sanity 33h with more files to avoid failure with small samples. Test-parameters: trivial testlist=sanity env=ONLY=33h,ONLY_REPEAT=500 Signed-off-by: Lai Siyao Change-Id: If14a852289ffc5907637a9dac6ed48890ced5586 Reviewed-on: https://review.whamcloud.com/39219 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: James Nunez --- lustre/tests/sanity.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 217cf57..78023ef 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -3834,7 +3834,7 @@ test_33h() { done local failed=0 - for i in {1..50}; do + for i in {1..250}; do for fname in $(mktemp -u $DIR/$tdir/.$tfile.XXXXXX) \ $(mktemp $DIR/$tdir/$tfile.XXXXXXXX); do touch $fname || error "touch $fname failed" @@ -3846,7 +3846,7 @@ test_33h() { done done echo "$failed MDT index mismatches" - (( failed < 4 )) || error "MDT index mismatch $failed times" + (( failed < 20 )) || error "MDT index mismatch $failed times" } run_test 33h "temp file is located on the same MDT as target" -- 1.8.3.1