Skip to content

Commit afdd439

Browse files
committed
Code clean up 6
1 parent fc2f544 commit afdd439

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

runner/main/jobtypes/performance/performance.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -165,20 +165,21 @@ function performance_run() {
165165
runoutput="${SHAREDDIR}/output/logs/run.log"
166166

167167
# Ensure run log directory exists and is writable so 'tee' can create the file.
168-
mkdir -p "$(dirname "${runoutput}")"
169-
chmod -R 2777 "${SHAREDDIR}/output/logs" || true
168+
# mkdir -p "$(dirname "${runoutput}")"
169+
# chmod -R 2777 "${SHAREDDIR}/output/logs" || true
170170

171171
# Calculate the command to run. The function will return the command in the passed array.
172172
local jmeterruncmd=
173173
performance_main_command jmeterruncmd
174174

175-
echo "Running performance command: ${jmeterruncmd[*]}"
176-
echo ">>> Performance run at $(date) <<<"
175+
# echo "Running performance command: ${jmeterruncmd[*]}"
177176
local dockerrunargs=
178177
docker-jmeter_run_args dockerrunargs
179178

180-
echo "${dockerrunargs[@]}"
181-
echo docker run ${dockerrunargs[@]} ${jmeterruncmd[@]}
179+
# echo "${dockerrunargs[@]}"
180+
# echo docker run ${dockerrunargs[@]} ${jmeterruncmd[@]}
181+
182+
echo ">>> Performance run at $(date) <<<"
182183
docker run "${dockerrunargs[@]}" ${jmeterruncmd[@]} | tee "${runoutput}"
183184
EXITCODE=$?
184185

0 commit comments

Comments
 (0)