Skip to content

Commit

Permalink
fix: update the performance tests and increase the failure threshold
Browse files Browse the repository at this point in the history
Signed-off-by: Yurii Shynbuiev <[email protected]>
  • Loading branch information
yshyn-iohk committed Jun 18, 2024
1 parent 836be0c commit 47de881
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tests/performance-tests/agent-performance-tests-k6/.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
AGENT_VERSION=1.33.0-SNAPSHOT
AGENT_VERSION=1.36.1-SNAPSHOT
PRISM_NODE_VERSION=2.3.0
VAULT_DEV_ROOT_TOKEN_ID=root
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"webpack": "webpack"
},
"dependencies": {
"@hyperledger/identus-cloud-agent-client-ts": "^1.33.0",
"@hyperledger/identus-cloud-agent-client-ts": "^1.36.1",
"uuid": "^9.0.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ export const defaultOptions: Options = {
},
],
http_req_duration: [
{ threshold: "p(95)<5000", abortOnFail: false }, // 95% of requests should complete within 5 seconds, but don't fail tests
//TODO: this threshold is too high, it should be adjusted to the actual performance requirements to lower value
{ threshold: "p(95)<11000", abortOnFail: false }, // 95% of requests should complete within 5 seconds, but don't fail tests
],
checks: [{ threshold: "rate==1", abortOnFail: true }], // fail if any checks fail (the checks are defined in test code which is executed)

}
}
8 changes: 4 additions & 4 deletions tests/performance-tests/agent-performance-tests-k6/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -993,10 +993,10 @@
resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70"
integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==

"@hyperledger/identus-cloud-agent-client-ts@^1.33.0":
version "1.33.0"
resolved "https://npm.pkg.github.com/download/@hyperledger/identus-cloud-agent-client-ts/1.33.0/6f0f6f6a36ceb0790981ad3ba425db1d6b0103cd#6f0f6f6a36ceb0790981ad3ba425db1d6b0103cd"
integrity sha512-kVF/PnkV2T+G8TX0frHq7ENeK8RQCrif+HapyMj0CtWrfPmm5Qlh7XeFqY1H80HOMTanB9i15PwIabb717rkhQ==
"@hyperledger/identus-cloud-agent-client-ts@^1.36.1":
version "1.36.1"
resolved "https://npm.pkg.github.com/download/@hyperledger/identus-cloud-agent-client-ts/1.36.1/81ea78bfb60603eb293172b33994517db893faac#81ea78bfb60603eb293172b33994517db893faac"
integrity sha512-EXP4G+bKy1Jlf5w0mtoPULjQqVBjnG0L4iUVrmK96N4duJP1P7CrEL09qchk6axPXH67DmoLHISwQPTLN2FMVQ==
dependencies:
es6-promise "^4.2.4"
url-parse "^1.4.3"
Expand Down

0 comments on commit 47de881

Please sign in to comment.