File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -71,8 +71,17 @@ export SERVERLESS=${SERVERLESS:-"false"}
7171run_system_benchmark () {
7272 local package_name=" $1 "
7373 local package_path=" $2 "
74- echo " --- Run system benchmarks for package ${package_name} "
75- elastic-package benchmark system -C " $package_path " --benchmark logs-benchmark -v --defer-cleanup 1s
74+
75+ local benchmark_file_path=" "
76+ local benchmark_filename=" "
77+ local benchmark_name=" "
78+
79+ for benchmark_file_path in $( find " ${package_path} /_dev/benchmark/system/" -maxdepth 1 -mindepth 1 -type f -name " *.yml" ) ; do
80+ benchmark_filename=" $( basename " ${benchmark_file_path} " ) "
81+ benchmark_name=" ${benchmark_filename% .* } "
82+ echo " --- Run system benchmarks for package ${package_name} - ${benchmark_name} "
83+ elastic-package benchmark system -C " $package_path " --benchmark " ${benchmark_name} " -v --defer-cleanup 1s
84+ done
7685}
7786
7887run_serverless_tests () {
You can’t perform that action at this time.
0 commit comments