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

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


The following commit(s) were added to refs/heads/main by this push:
     new ae86fb84 (chores) Fixed not generating larger data sets
ae86fb84 is described below

commit ae86fb84e2fdd2cabb8d801bcb34cb9d39d630d3
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Wed Oct 26 15:41:38 2022 +0200

    (chores) Fixed not generating larger data sets
---
 examples/resume-api/resume-api-fileset/src/main/scripts/run.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/resume-api/resume-api-fileset/src/main/scripts/run.sh 
b/examples/resume-api/resume-api-fileset/src/main/scripts/run.sh
index 4a80ba9f..e10d1c8d 100644
--- a/examples/resume-api/resume-api-fileset/src/main/scripts/run.sh
+++ b/examples/resume-api/resume-api-fileset/src/main/scripts/run.sh
@@ -49,7 +49,7 @@ for i in $(seq 0 ${ITERATIONS}) ; do
   echo 
"********************************************************************************"
 
   echo "Appending ${FILE_COUNT} files to the data directory (files from the 
previous execution remain there)"
-  for file in $(seq 1 100) ; do
+  for file in $(seq 1 ${FILE_COUNT}) ; do
     echo ${RANDOM} > ${DATA_DIR}/${i}/${file}
   done
 

Reply via email to