Skip to content

Commit

Permalink
updated after CR
Browse files Browse the repository at this point in the history
  • Loading branch information
tkonieczny committed Nov 26, 2024
1 parent 547ee05 commit 7099662
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions test/locust/crd-workflow/smoke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@ spec:
timeout: 30s # initialization timeout
logs: 'always'
image: locustio/locust:2.32.3
command:
- /bin/sh
- -c
- "mkdir /data/artifacts && cd /data/repo/test/locust/locust-project && locust --master -f locust_test.py --host https://testkube-test-page-lipsum.pages.dev/ --headless --users 20 --spawn-rate 10 --run-time 60s --stop-timeout 180 --html=/data/artifacts/report.html"
shell: |
mkdir /data/artifacts
cd /data/repo/test/locust/locust-project
locust --master -f locust_test.py --host https://testkube-test-page-lipsum.pages.dev/ --headless \
--users 20 --spawn-rate 10 --run-time 60s --stop-timeout 180 --html=/data/artifacts/report.html
readinessProbe:
tcpSocket:
port: 5557
Expand All @@ -68,4 +69,4 @@ spec:
paused: true # synchronize running all workers - optional
run:
image: locustio/locust:2.32.3
shell: locust -f - --worker --master-host {{services.master.0.ip}} --processes {{ config.workers }}
shell: locust -f - --worker --master-host {{ services.master.0.ip }} --processes {{ config.workers }}

0 comments on commit 7099662

Please sign in to comment.