From a787d3e14c49536f5873100eacda62ee46161c7e Mon Sep 17 00:00:00 2001 From: Anna Zubenko Date: Tue, 11 Jun 2024 11:23:04 +0200 Subject: [PATCH] Gatling 3.11 upgrade --- pkg/commands/commands.go | 2 +- pkg/commands/commands_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/commands/commands.go b/pkg/commands/commands.go index aacf3c6..518d89c 100644 --- a/pkg/commands/commands.go +++ b/pkg/commands/commands.go @@ -73,7 +73,7 @@ fi if [ ${SIMULATIONS_FORMAT} = "bundle" ]; then gatling.sh -sf ${SIMULATIONS_DIR_PATH} -s ${SIMULATION_CLASS} -rsf ${RESOURCES_DIR_PATH} -rf ${RESULTS_DIR_PATH} %s %s elif [ ${SIMULATIONS_FORMAT} = "gradle" ]; then - gradle -Dgatling.core.directory.results=${RESULTS_DIR_PATH} gatlingRun-${SIMULATION_CLASS} + gradle -Dgatling.core.directory.results=${RESULTS_DIR_PATH} --simulation=${SIMULATION_CLASS} fi GATLING_EXIT_STATUS=$? diff --git a/pkg/commands/commands_test.go b/pkg/commands/commands_test.go index 84b9104..bad1128 100644 --- a/pkg/commands/commands_test.go +++ b/pkg/commands/commands_test.go @@ -91,7 +91,7 @@ fi if [ ${SIMULATIONS_FORMAT} = "bundle" ]; then gatling.sh -sf ${SIMULATIONS_DIR_PATH} -s ${SIMULATION_CLASS} -rsf ${RESOURCES_DIR_PATH} -rf ${RESULTS_DIR_PATH} -rm local elif [ ${SIMULATIONS_FORMAT} = "gradle" ]; then - gradle -Dgatling.core.directory.results=${RESULTS_DIR_PATH} gatlingRun-${SIMULATION_CLASS} + gradle -Dgatling.core.directory.results=${RESULTS_DIR_PATH} --simulation=${SIMULATION_CLASS} fi GATLING_EXIT_STATUS=$? @@ -144,7 +144,7 @@ fi if [ ${SIMULATIONS_FORMAT} = "bundle" ]; then gatling.sh -sf ${SIMULATIONS_DIR_PATH} -s ${SIMULATION_CLASS} -rsf ${RESOURCES_DIR_PATH} -rf ${RESULTS_DIR_PATH} -nr -rm local elif [ ${SIMULATIONS_FORMAT} = "gradle" ]; then - gradle -Dgatling.core.directory.results=${RESULTS_DIR_PATH} gatlingRun-${SIMULATION_CLASS} + gradle -Dgatling.core.directory.results=${RESULTS_DIR_PATH} --simulation=${SIMULATION_CLASS} fi GATLING_EXIT_STATUS=$?