From 04d10d10282c7dfbd492c390a97ce1a99baea0e8 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 20 Jun 2011 11:47:15 -0700 Subject: [PATCH] qa: tiobench workunit: remove timeout Signed-off-by: Sage Weil --- qa/workunits/suites/tiobench.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/qa/workunits/suites/tiobench.sh b/qa/workunits/suites/tiobench.sh index 689fa745bb685..9bc71c6304767 100755 --- a/qa/workunits/suites/tiobench.sh +++ b/qa/workunits/suites/tiobench.sh @@ -5,17 +5,17 @@ die() { exit 1 } -timer_fail() { - echo "timer expired: tiobench has timed out." - exit 1 -} - which tiotest || die "you must install the tiobench package" -trap timer_fail ALRM +#timer_fail() { +# echo "timer expired: tiobench has timed out." +# exit 1 +#} + +#trap timer_fail ALRM -pid=$$ -( sleep 420 ; kill -14 $pid ) & +#pid=$$ +#( sleep 420 ; kill -14 $pid ) & for i in `seq 1 10`; do tiotest -f 20 -t 10 -d . -T -c -D 20 -r 1000 || die "tiotest failed" -- 2.39.5