Skip to content

Commit 1101f8b

Browse files
Atualizar o run-rinha-test.sh
1 parent 3fa3faa commit 1101f8b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

prod/conf/stress-test/run-rinha-test.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@
33
echo "Tests will start in 15 seconds..."
44
sleep 15
55

6+
# Run the k6 test
67
k6 run rinha-test.js
78

8-
# After the test run, copy the exported report to the mounted /reports directory
9+
# Fix the permissions on the generated report before copying it.
910
if [ -f stress-test-report.html ]; then
11+
chmod 644 stress-test-report.html
1012
cp stress-test-report.html /reports/
1113
echo "Report copied to /reports/stress-test-report.html"
1214
else

0 commit comments

Comments
 (0)