Skip to content

Commit

Permalink
Fix run_tests.sh (#1046)
Browse files Browse the repository at this point in the history
  • Loading branch information
wdbasson authored Sep 19, 2024
1 parent 865f02f commit e940459
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions scripts/k6/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ export HOLDER_PREFIX=k6_holder
export SCHEMA_PREFIX=k6_schema
export SCHEMA_NAME="proof_of_person"
export SCHEMA_VERSION="0.1.0"
export NUM_ISSUERS=2
4 changes: 2 additions & 2 deletions scripts/k6/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ run_test() {
xk6 run ./scenarios/delete-holders.js
if [ $MULTI_ISSUERS = false ]; then
export VUS=1 # delete single issuer
export ITERATIONS=1
export ITERATIONS="${NUM_ISSUERS}"
fi
xk6 run ./scenarios/delete-issuers.js
echo "Exiting with exit code $exit_code ..."
Expand All @@ -34,7 +34,7 @@ run_test ./scenarios/create-proof.js

run_test ./scenarios/delete-holders.js
export VUS=1 # delete single issuer - TODO: improve this
export ITERATIONS=1
export ITERATIONS="${NUM_ISSUERS}"
run_test ./scenarios/delete-issuers.js

# Multiple issuers tests
Expand Down

0 comments on commit e940459

Please sign in to comment.