Skip to content

Commit

Permalink
chore(DO NOT MERGE): Test mvp active users scalability v1.2
Browse files Browse the repository at this point in the history
Test mvp-active-users-scalability
  • Loading branch information
yogananth-subramanian committed Jul 3, 2024
1 parent c762016 commit 6af9549
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci-scripts/rhdh-setup/create_resource.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ clone_and_upload() {
curl -k "$(backstage_url)/api/catalog/locations" --cookie "$COOKIE" --cookie-jar "$COOKIE" -X POST -H 'Accept-Encoding: gzip, deflate, br' -H 'Authorization: Bearer '"$ACCESS_TOKEN" -H 'Content-Type: application/json' --data-raw '{"type":"url","target":"'"${upload_url}"'"}'


timeout_timestamp=$(date -d "600 seconds" "+%s")
timeout_timestamp=$(date -d "7200 seconds" "+%s")
while true; do
if [ "$(date "+%s")" -gt "$timeout_timestamp" ]; then
echo "ERROR: Timeout waiting on entity count"
Expand All @@ -125,7 +125,7 @@ clone_and_upload() {
if [[ $b_count -ge $e_count ]]; then break; fi
fi
echo "Waiting for the entity count to be ${e_count} (current: ${b_count})"
sleep 10s
sleep 120s
done
done
for filename in "${files[@]}"; do
Expand Down
17 changes: 17 additions & 0 deletions test.env
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,20 @@
## Extras
# export LOCUST_EXTRA_CMD=
# export ARTIFACT_DIR=.artifacts

export DURATION=5m
export PRE_LOAD_DB="true"
export SCALE_ACTIVE_USERS_SPAWN_RATES='1:1 100:20 200:40 500:100 1000:200'
export SCALE_BS_USERS_GROUPS='10000:2000'
export SCALE_CATALOG_SIZES='2500:2500'
export SCALE_CPU_REQUESTS_LIMITS=:
export SCALE_DB_STORAGES=2Gi
export SCALE_MEMORY_REQUESTS_LIMITS=:
export SCALE_REPLICAS=5
export SCALE_WORKERS=40
export SCENARIO=mvp
export USE_PR_BRANCH=true
export WAIT_FOR_SEARCH_INDEX=false
export RHDH_HELM_CHART=redhat-developer-hub
export AUTH_PROVIDER=keycloak
export RHDH_HELM_REPO=https://raw.githubusercontent.com/rhdh-bot/openshift-helm-charts/redhat-developer-hub-1.2-106-CI/installation/

0 comments on commit 6af9549

Please sign in to comment.