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

b=13534

i=Nathan
i=Huanghua

test_50 fix for remote mds
parent d9682458
No related branches found
No related tags found
No related merge requests found
...@@ -1061,9 +1061,10 @@ test_48() { ...@@ -1061,9 +1061,10 @@ test_48() {
run_test 48 "MDS->OSC failure during precreate cleanup (2824)" run_test 48 "MDS->OSC failure during precreate cleanup (2824)"
test_50() { test_50() {
local oscdev=`grep ${ost1_svc}-osc-MDT0000 $LPROC/devices | awk '{print $1}'` local oscdev=`do_facet $SINGLEMDS grep ${ost1_svc}-osc-MDT0000 $LPROC/devices | awk '{print $1}'`
[ "$oscdev" ] || return 1 [ "$oscdev" ] || return 1
$LCTL --device $oscdev recover && $LCTL --device $oscdev recover do_facet $SINGLEMDS $LCTL --device $oscdev recover || return 2
do_facet $SINGLEMDS $LCTL --device $oscdev recover || return 3
# give the mds_lov_sync threads a chance to run # give the mds_lov_sync threads a chance to run
sleep 5 sleep 5
} }
......
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