From 28674981a2f4f6c301836053941fa025a6d9aae8 Mon Sep 17 00:00:00 2001 From: ericm <ericm> Date: Mon, 8 Dec 2008 19:20:38 +0000 Subject: [PATCH] branch: b1_6 fix calculation of sleeping time. b=13659 r=nathan --- lustre/tests/replay-single.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh index 15bcc98b87..ddfc4952f5 100755 --- a/lustre/tests/replay-single.sh +++ b/lustre/tests/replay-single.sh @@ -1466,7 +1466,7 @@ test_65a() #bug 3055 # because previous tests may have caused this value to increase. REQ_DELAY=`lctl get_param -n mdc.${FSNAME}-MDT0000-mdc-*.timeouts | awk '/portal 12/ {print $5}'` - REQ_DELAY=$((${REQ_DELAY} + 5)) + REQ_DELAY=$((${REQ_DELAY} + ${REQ_DELAY} / 4 + 5)) do_facet mds lctl set_param fail_val=$((${REQ_DELAY} * 1000)) #define OBD_FAIL_PTLRPC_PAUSE_REQ 0x50a @@ -1495,7 +1495,7 @@ test_65b() #bug 3055 # because previous tests may have caused this value to increase. REQ_DELAY=`lctl get_param -n osc.${FSNAME}-OST0000-osc-*.timeouts | awk '/portal 6/ {print $5}'` - REQ_DELAY=$((${REQ_DELAY} + 5)) + REQ_DELAY=$((${REQ_DELAY} + ${REQ_DELAY} / 4 + 5)) do_facet ost1 lctl set_param fail_val=${REQ_DELAY} #define OBD_FAIL_OST_BRW_PAUSE_PACK 0x224 -- GitLab