From 3202e52dd008b529e708c88230ab0aa4bde74b8a Mon Sep 17 00:00:00 2001 From: grev <grev> Date: Mon, 6 Oct 2008 18:54:49 +0000 Subject: [PATCH] b=17225 i=Nathan.Rutman test_67b fix --- lustre/tests/replay-single.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh index 5362dd5b2b..0575df8268 100755 --- a/lustre/tests/replay-single.sh +++ b/lustre/tests/replay-single.sh @@ -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" -- GitLab