Skip to content

Commit

Permalink
Fix removed iterations in docs and minikube CI (#756)
Browse files Browse the repository at this point in the history
* removing iterations for dataset-import

* remove iterations from docs and fix args position
  • Loading branch information
kami619 committed Apr 1, 2024
1 parent 9c852a2 commit 062cfac
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/provision-minikube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
working-directory: provision/minikube
run: |
task KC_DATABASE=postgres dataset-import -- -a clear-status-completed
task KC_DATABASE=postgres dataset-import -- -a create-realms -r 1 -c 5 -u 5 -i 1000
task KC_DATABASE=postgres dataset-import -- -a create-realms -r 1 -c 5 -u 5
task KC_DATABASE=postgres dataset-import -- -a status-completed
- name: Show logs on failure
if: ${{ failure() }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rosa-scaling-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
numberOfEntitiesInRealm:
description: 'Number of entities for the scenario in DB'
type: number
default: 20000
default: 100000
maxWaitEntityCreation:
description: 'Maximum number of seconds to wait for creation of entities'
type: number
Expand Down Expand Up @@ -57,7 +57,7 @@ on:
numberOfEntitiesInRealm:
description: 'Number of entities for the scenario in DB'
type: number
default: 20000
default: 100000
maxWaitEntityCreation:
description: 'Maximum number of seconds to wait for creation of entities'
type: number
Expand Down
2 changes: 1 addition & 1 deletion dataset/dataset-import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ set_environment_variables () {

create_realms () {
echo "Creating $1 realm/s with $2 client/s and $3 user/s."
execute_command "create-realms?count=$1&clients-per-realm=$2&users-per-realm=$3&task-timeout=$5&threads-count=$6"
execute_command "create-realms?count=$1&clients-per-realm=$2&users-per-realm=$3&task-timeout=$4&threads-count=$5"
}

create_clients () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ curl 'https://keycloak-server/realms/master/dataset/create-realms?realm-name=rea
.Alternative 2: Setup of users and clients using the `dataset-import.sh` shell script
[source,bash]
----
./dataset-import.sh -a create-realms -r 1 -c 5 -u 30 -i 1000
./dataset-import.sh -a create-realms -r 1 -c 5 -u 30
----

=== Running the scenario
Expand Down

0 comments on commit 062cfac

Please sign in to comment.