Skip to content
Snippets Groups Projects
Commit 3d3c8ed4 authored by Elena Gryaznova's avatar Elena Gryaznova
Browse files

b=13798

i=nathan.rutman

cleanup: remove tdir creation
parent 25a1843f
No related branches found
No related tags found
No related merge requests found
...@@ -194,7 +194,6 @@ run_test 5 "|x| 220 open(O_CREAT)" ...@@ -194,7 +194,6 @@ run_test 5 "|x| 220 open(O_CREAT)"
test_6() { test_6() {
replay_barrier mds replay_barrier mds
mkdir $DIR/$tdir
mcreate $DIR/$tdir/$tfile mcreate $DIR/$tdir/$tfile
fail mds fail mds
$CHECKSTAT -t dir $DIR/$tdir || return 1 $CHECKSTAT -t dir $DIR/$tdir || return 1
...@@ -213,7 +212,6 @@ test_6b() { ...@@ -213,7 +212,6 @@ test_6b() {
run_test 6b "|X| rmdir" run_test 6b "|X| rmdir"
test_7() { test_7() {
mkdir $DIR/$tdir
replay_barrier mds replay_barrier mds
mcreate $DIR/$tdir/$tfile mcreate $DIR/$tdir/$tfile
fail mds fail mds
...@@ -1330,7 +1328,6 @@ run_test 57 "test recovery from llog for setattr op" ...@@ -1330,7 +1328,6 @@ run_test 57 "test recovery from llog for setattr op"
test_58() { test_58() {
#define OBD_FAIL_MDS_OST_SETATTR 0x12c #define OBD_FAIL_MDS_OST_SETATTR 0x12c
do_facet mds "sysctl -w lustre.fail_loc=0x8000012c" do_facet mds "sysctl -w lustre.fail_loc=0x8000012c"
mkdir $DIR/$tdir
createmany -o $DIR/$tdir/$tfile-%d 2500 createmany -o $DIR/$tdir/$tfile-%d 2500
replay_barrier mds replay_barrier mds
fail mds fail mds
...@@ -1345,7 +1342,6 @@ run_test 58 "test recovery from llog for setattr op (test llog_gen_rec)" ...@@ -1345,7 +1342,6 @@ run_test 58 "test recovery from llog for setattr op (test llog_gen_rec)"
# log_commit_thread vs filter_destroy race used to lead to import use after free # log_commit_thread vs filter_destroy race used to lead to import use after free
# bug 11658 # bug 11658
test_59() { test_59() {
mkdir $DIR/$tdir
createmany -o $DIR/$tdir/$tfile-%d 200 createmany -o $DIR/$tdir/$tfile-%d 200
sync sync
unlinkmany $DIR/$tdir/$tfile-%d 200 unlinkmany $DIR/$tdir/$tfile-%d 200
...@@ -1362,7 +1358,6 @@ run_test 59 "test log_commit_thread vs filter_destroy race" ...@@ -1362,7 +1358,6 @@ run_test 59 "test log_commit_thread vs filter_destroy race"
# race between add unlink llog vs cat log init in post_recovery (only for b1_6) # race between add unlink llog vs cat log init in post_recovery (only for b1_6)
# bug 12086: should no oops and No ctxt error for this test # bug 12086: should no oops and No ctxt error for this test
test_60() { test_60() {
mkdir $DIR/$tdir
createmany -o $DIR/$tdir/$tfile-%d 200 createmany -o $DIR/$tdir/$tfile-%d 200
replay_barrier mds replay_barrier mds
unlinkmany $DIR/$tdir/$tfile-%d 0 100 unlinkmany $DIR/$tdir/$tfile-%d 0 100
...@@ -1375,7 +1370,6 @@ run_test 60 "test llog post recovery init vs llog unlink" ...@@ -1375,7 +1370,6 @@ run_test 60 "test llog post recovery init vs llog unlink"
#test race llog recovery thread vs llog cleanup #test race llog recovery thread vs llog cleanup
test_61a() { test_61a() {
mkdir $DIR/$tdir
createmany -o $DIR/$tdir/$tfile-%d 800 createmany -o $DIR/$tdir/$tfile-%d 800
replay_barrier ost1 replay_barrier ost1
# OBD_FAIL_OST_LLOG_RECOVERY_TIMEOUT 0x221 # OBD_FAIL_OST_LLOG_RECOVERY_TIMEOUT 0x221
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment