From 6566c4070383e950ecf636a76d86d4fbd974be41 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Voc=C5=AF?= Date: Wed, 5 Aug 2009 13:45:45 +0000 Subject: [PATCH] modify PERFTEST_NAME for each job type to avoid clashes on jobids --- org.glite.lb.common/src/perftest_common.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/org.glite.lb.common/src/perftest_common.sh b/org.glite.lb.common/src/perftest_common.sh index 84a7fc2..b876113 100644 --- a/org.glite.lb.common/src/perftest_common.sh +++ b/org.glite.lb.common/src/perftest_common.sh @@ -159,9 +159,12 @@ run_test() for file in ${JOB_FILE[*]} do [[ $DEBUG -gt 0 ]] && echo -e "\n\nRunning test with input $file" + savePERFTEST_NAME=$PERFTEST_NAME + PERFTEST_NAME="${PERFTEST_NAME}_${JOB_DESC[i]}" linesbefore=`grep PERFTEST $CONSUMER_LOG|wc -l` $LOGJOBS $lj_flags -f $file >> $PRODUCER_LOG 2>&1 linesafter=`grep PERFTEST $CONSUMER_LOG|wc -l` + PERFTEST_NAME=$savePERFTEST_NAME # if there are no new lines in the log, give it some time [[ $linesbefore -eq $linesafter ]] && sleep 5 linesafter=`grep PERFTEST $CONSUMER_LOG|wc -l` -- 1.8.2.3