Skip to content

Commit ecdc572

Browse files
committed
Fix max rate K6 scenario
1 parent a2ea19d commit ecdc572

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

spec/performance/bench.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,9 @@ if [ "$RATE" = "max" ]; then
8484
VEGETA_ARGS=(-rate=infinity --workers="$CONNECTIONS" --max-workers="$CONNECTIONS")
8585
K6_SCENARIOS="{
8686
max_rate: {
87-
executor: 'shared-iterations',
87+
executor: 'constant-vus',
8888
vus: $CONNECTIONS,
89-
iterations: $((CONNECTIONS * DURATION_SEC * 10)),
90-
maxDuration: '$DURATION'
89+
duration: '$DURATION'
9190
}
9291
}"
9392
else

0 commit comments

Comments
 (0)