Skip to content

Commit

Permalink
Add retries on Gitlab internal system failures, tweak RPS
Browse files Browse the repository at this point in the history
  • Loading branch information
ddyurchenko authored and juli1 committed Jun 18, 2024
1 parent 5a13a94 commit 20f13ae
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .gitlab/macrobenchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@
variables:
FF_USE_LEGACY_KUBERNETES_EXECUTION_STRATEGY: "true"

K6_OPTIONS_WARMUP_RATE: 300
K6_OPTIONS_WARMUP_RATE: 500
K6_OPTIONS_WARMUP_DURATION: 1m
K6_OPTIONS_WARMUP_GRACEFUL_STOP: 10s
K6_OPTIONS_WARMUP_PRE_ALLOCATED_VUS: 4
K6_OPTIONS_WARMUP_MAX_VUS: 4

K6_OPTIONS_NORMAL_OPERATION_RATE: 200
K6_OPTIONS_NORMAL_OPERATION_RATE: 300
K6_OPTIONS_NORMAL_OPERATION_DURATION: 10m
K6_OPTIONS_NORMAL_OPERATION_GRACEFUL_STOP: 10s
K6_OPTIONS_NORMAL_OPERATION_PRE_ALLOCATED_VUS: 4
K6_OPTIONS_NORMAL_OPERATION_MAX_VUS: 4

K6_OPTIONS_HIGH_LOAD_RATE: 500
K6_OPTIONS_HIGH_LOAD_RATE: 700
K6_OPTIONS_HIGH_LOAD_DURATION: 3m
K6_OPTIONS_HIGH_LOAD_GRACEFUL_STOP: 10s
K6_OPTIONS_HIGH_LOAD_PRE_ALLOCATED_VUS: 4
Expand All @@ -46,6 +46,16 @@
# benchmarks get changed to run on every PR)
allow_failure: true

# Retry on Gitlab internal system failures
retry:
max: 2
when:
- unknown_failure
- data_integrity_failure
- runner_system_failure
- scheduler_failure
- api_failure

baseline-1:
extends: .macrobenchmarks
variables:
Expand Down

0 comments on commit 20f13ae

Please sign in to comment.