Whamcloud - gitweb
Branch: b1_4
authoradilger <adilger>
Sat, 23 Apr 2005 08:08:06 +0000 (08:08 +0000)
committeradilger <adilger>
Sat, 23 Apr 2005 08:08:06 +0000 (08:08 +0000)
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.

lustre/tests/replay-single.sh

index b909fa5..681784e 100755 (executable)
@@ -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)"