Skip to content

Commit

Permalink
Allow for a small error rate when running in the cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
Anna Manukyan authored and ahus1 committed Aug 9, 2023
1 parent 4065532 commit b3fe33d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/rosa-scaling-benchmark.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Rosa Cluster - Scaling Benchmark
name: ROSA Cluster - Scaling Benchmark

on:
workflow_dispatch:
Expand Down Expand Up @@ -153,7 +153,8 @@ jobs:
--logout-percentage=0 \
--measurement=${{ inputs.measurement }} \
--users-per-realm=${{ inputs.numberOfEntitiesInRealm }} \
--log-http-on-failure
--log-http-on-failure \
--sla-error-percentage=0.001
working-directory: ansible

- name: Testing CPU usage for user logins
Expand All @@ -168,7 +169,8 @@ jobs:
--logout-percentage=100 \
--measurement=${{ inputs.measurement }} \
--users-per-realm=${{ inputs.numberOfEntitiesInRealm }} \
--log-http-on-failure
--log-http-on-failure \
--sla-error-percentage=0.001
working-directory: ansible

- name: Testing CPU usage for client credential grants
Expand All @@ -182,7 +184,8 @@ jobs:
--ramp-up=20 \
--measurement=${{ inputs.measurement }} \
--users-per-realm=${{ inputs.numberOfEntitiesInRealm }} \
--log-http-on-failure
--log-http-on-failure \
--sla-error-percentage=0.001
working-directory: ansible

- name: Archive Gatling reports
Expand Down
4 changes: 4 additions & 0 deletions doc/benchmark/modules/ROOT/pages/configuration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ Will log a lot of information.
Use this only during development.
Never use it during a load test as it slows down Gatling.

| [.nowrap]`--sla-error-percentage`
| `0`
| Maximum percentage of requests to fail during a run.

|===

=== Running across multiple realms, users and clients
Expand Down

0 comments on commit b3fe33d

Please sign in to comment.