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

b=15738

i=Adilger

replay-single test_61* fixes: set fail loc on all oss
parent dc5ae91e
No related branches found
No related tags found
No related merge requests found
......@@ -1375,12 +1375,13 @@ test_61() {
replay_barrier ost1
# OBD_FAIL_OST_LLOG_RECOVERY_TIMEOUT 0x221
unlinkmany $DIR/$tdir/$tfile-%d 800
do_facet ost "sysctl -w lustre.fail_loc=0x80000221"
set_nodes_failloc "$(osts_nodes)" 0x80000221
facet_failover ost1
sleep 10
fail ost1
sleep 30
do_facet ost "sysctl -w lustre.fail_loc=0x0"
set_nodes_failloc "$(osts_nodes)" 0x0
$CHECKSTAT -t file $DIR/$tdir/$tfile-* && return 1
rmdir $DIR/$tdir
}
......@@ -1401,10 +1402,11 @@ run_test 61b "test race mds llog sync vs llog cleanup"
test_61c() {
# OBD_FAIL_OST_CANCEL_COOKIE_TIMEOUT 0x222
touch $DIR/$tfile
do_facet ost "sysctl -w lustre.fail_loc=0x80000222"
set_nodes_failloc "$(osts_nodes)" 0x80000222
rm $DIR/$tfile
sleep 10
fail ost1
set_nodes_failloc "$(osts_nodes)" 0x0
}
run_test 61c "test race mds llog sync vs llog cleanup"
......
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