This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git


The following commit(s) were added to refs/heads/main by this push:
     new bf80cad  Kafka-Minio Burst script: Use Seq instead of for
bf80cad is described below

commit bf80cade9fb902f20554df3deb239587024da2fd
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Thu Sep 16 12:28:18 2021 +0200

    Kafka-Minio Burst script: Use Seq instead of for
---
 profiling/kafka-minio/script/burst.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/profiling/kafka-minio/script/burst.sh 
b/profiling/kafka-minio/script/burst.sh
index 7c01ed9..ba3af3e 100755
--- a/profiling/kafka-minio/script/burst.sh
+++ b/profiling/kafka-minio/script/burst.sh
@@ -33,7 +33,7 @@ done
 
 set -- "${POSITIONAL[@]}" # restore positional parameters
 
-for i in {1..$NUMBER}
+for i in $(seq 1 $NUMBER)
 do
    echo $PAYLOAD | $KAFKACAT_PATH -b localhost:9092 -t $TOPIC -H "file=$(cat 
/dev/urandom | tr -dc '[:alpha:]' | fold -w ${1:-20} | head -n 1)"
 done

Reply via email to