From b3fe33daa4df9b5ab5ae282126b5e1db9046a421 Mon Sep 17 00:00:00 2001 From: Anna Manukyan Date: Wed, 26 Jul 2023 17:57:05 +0200 Subject: [PATCH] Allow for a small error rate when running in the cloud --- .github/workflows/rosa-scaling-benchmark.yml | 11 +++++++---- doc/benchmark/modules/ROOT/pages/configuration.adoc | 4 ++++ 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rosa-scaling-benchmark.yml b/.github/workflows/rosa-scaling-benchmark.yml index 324217518..fdcd1e982 100644 --- a/.github/workflows/rosa-scaling-benchmark.yml +++ b/.github/workflows/rosa-scaling-benchmark.yml @@ -1,4 +1,4 @@ -name: Rosa Cluster - Scaling Benchmark +name: ROSA Cluster - Scaling Benchmark on: workflow_dispatch: @@ -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 @@ -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 @@ -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 diff --git a/doc/benchmark/modules/ROOT/pages/configuration.adoc b/doc/benchmark/modules/ROOT/pages/configuration.adoc index 9692afbe7..5d2806fa4 100644 --- a/doc/benchmark/modules/ROOT/pages/configuration.adoc +++ b/doc/benchmark/modules/ROOT/pages/configuration.adoc @@ -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