diff --git a/test/cal_tps.sh b/test/cal_tps.sh index f5c2b2d58..b3fb3c239 100755 --- a/test/cal_tps.sh +++ b/test/cal_tps.sh @@ -61,7 +61,7 @@ done FILES=$(cat $VALIDATORS) for i in $FILES; do peer=`echo $i | cut -f 5 -d - | cut -f 1 -d .` - num=`grep "Added New Block to Blockchain" $i | tail -n 1 | cut -f 6 -d , | grep -Eo [0-9]+` + num=`grep "HOORAY" $i | tail -n 1 | cut -f 6 -d , | grep -Eo [0-9]+` echo "peerID": $peer, "numOfConsensus": $num done