Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💚 Fix k6 run_tests.sh #1046

Merged
merged 1 commit into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading