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

b=17225

i=Nathan.Rutman
test_67b fix
parent b6d78bfd
No related branches found
No related tags found
No related merge requests found
......@@ -1551,7 +1551,7 @@ test_67b() #bug 3055
do_facet ost1 "lctl set_param fail_loc=0x80000223"
cp /etc/profile $DIR/$tfile || error "cp failed"
client_reconnect
lctl get_param -n ost.OSS.ost_create.timeouts
do_facet ost1 "lctl get_param -n ost.OSS.ost_create.timeouts"
log "phase 2"
CONN2=$(lctl get_param -n osc.*.stats | awk '/_connect/ {total+=$2} END {print total}')
ATTEMPTS=$(($CONN2 - $CONN1))
......@@ -1561,8 +1561,8 @@ test_67b() #bug 3055
cp /etc/profile $DIR/$tfile || error "cp failed"
do_facet ost1 "lctl set_param fail_loc=0"
client_reconnect
lctl get_param -n ost.OSS.ost_create.timeouts
CONN3=$(`lctl get_param -n osc.*.stats` | awk '/_connect/ {total+=$2} END {print total}')
do_facet ost1 "lctl get_param -n ost.OSS.ost_create.timeouts"
CONN3=$(lctl get_param -n osc.*.stats | awk '/_connect/ {total+=$2} END {print total}')
ATTEMPTS=$(($CONN3 - $CONN2))
echo "$ATTEMPTS osc reconnect attemps on 2nd slow"
[ $ATTEMPTS -gt 0 ] && error "AT should have prevented reconnect"
......
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