Skip to content

Commit 5791811

Browse files
committed
fix: remove trailing comma in prover url computed by benchmark script
1 parent 4e95962 commit 5791811

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mithril-test-lab/benchmark/aggregator-prover/benchmark-aggregator-prover.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ RUN_STRESS_TEST() {
117117
TMP_FILE="test.tmp"
118118
echo ">> [#$INDEX_RUN/$TOTAL_RUN] Running stress test with $AB_TOTAL_REQUESTS requests with $TRANSACTIONS_PER_REQUEST transactions per request and $AB_CONCURRENCY concurrency"
119119
TRANSACTIONS_LIST=$(head -n $TRANSACTIONS_PER_REQUEST "$TRANSACTIONS_FILE" | tr "\n" ",")
120-
AGGREGATOR_PROVER_URL="${AGGREGATOR_ENDPOINT}${AGGREGATOR_PROVER_ROUTE}?transaction_hashes=$TRANSACTIONS_LIST"
120+
AGGREGATOR_PROVER_URL="${AGGREGATOR_ENDPOINT}${AGGREGATOR_PROVER_ROUTE}?transaction_hashes=${TRANSACTIONS_LIST::-1}"
121121
if ab -n $AB_TOTAL_REQUESTS -c $AB_CONCURRENCY -s "$AB_TIMEOUT" "$AGGREGATOR_PROVER_URL" > $TMP_FILE ; then
122122
REQUESTS_PER_SECOND=$(cat $TMP_FILE | awk '/Requests per second:/ {print $4}')
123123
if [[ $INDEX_RUN -eq 1 ]] ; then

0 commit comments

Comments
 (0)