From: adilger Date: Sat, 23 Apr 2005 08:08:06 +0000 (+0000) Subject: Branch: b1_4 X-Git-Tag: v1_7_100~1^25~8^2~202 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=71e361f6cb76f36d1629159dee3bb1863656a663;p=fs%2Flustre-release.git Branch: b1_4 Reduce number of files created because small test setups don't have so many files and it doesn't really improve the test. Also, checkstat will fail if there are too many files on the command line. --- diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh index b909fa5..681784e 100755 --- a/lustre/tests/replay-single.sh +++ b/lustre/tests/replay-single.sh @@ -1020,13 +1020,13 @@ run_test 57 "test recovery from llog for setattr op" test_58() { #define OBD_FAIL_MDS_OST_SETATTR 0x12c do_facet mds "sysctl -w lustre.fail_loc=0x8000012c" - createmany -o $DIR/$tfile-%d 30000 + createmany -o $DIR/$tfile-%d 2500 replay_barrier mds fail mds sleep 2 $CHECKSTAT -t file $DIR/$tfile-* || return 1 do_facet mds "sysctl -w lustre.fail_loc=0x0" - rm -f $DIR/$tfile-* + unlinkmany $DIR/$tfile-* 2500 } run_test 58 "test recovery from llog for setattr op (test llog_gen_rec)"