Skip to content

Commit

Permalink
fix: perf tests made easier to pass
Browse files Browse the repository at this point in the history
Signed-off-by: David Poltorak <[email protected]>
  • Loading branch information
davepoltorak committed Oct 9, 2023
1 parent 69c03bf commit 0aee0cc
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export const defaultOptions: Options = {
},
],
http_req_duration: [
{ threshold: "p(95)<2000", abortOnFail: true }, // 95% of requests should complete within 2 seconds
{ threshold: "p(99)<5000", abortOnFail: true }, // 99% of requests should complete within 5 seconds
{ threshold: "p(95)<2000", abortOnFail: false }, // 95% of requests should complete within 2 seconds, but don't fail tests
{ threshold: "p(99)<5000", abortOnFail: false }, // 99% 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)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import merge from "ts-deepmerge";

export const localOptions: Options = {
thresholds: {
'group_duration{group:::Issuer creates credential offer}': ['avg < 15000']
'group_duration{group:::Issuer creates credential offer}': ['avg < 30000']
}
}
export let options: Options = merge(localOptions, defaultOptions)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import merge from "ts-deepmerge";

export const localOptions: Options = {
thresholds: {
'group_duration{group:::Issuer creates credential schema}': ['avg < 15000']
'group_duration{group:::Issuer creates credential schema}': ['avg < 30000']
}
}
export let options: Options = merge(localOptions, defaultOptions)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import merge from "ts-deepmerge";

export const localOptions: Options = {
thresholds: {
'group_duration{group:::Issuer create unpublished DID}': ['avg < 15000']
'group_duration{group:::Issuer create unpublished DID}': ['avg < 30000']
}
}
export let options: Options = merge(localOptions, defaultOptions)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { defaultOptions } from "../../scenarios/default";

export const localOptions: Options = {
thresholds: {
"group_duration{group:::Issuer create published DID}": ["avg < 15000"],
"group_duration{group:::Issuer create published DID}": ["avg < 30000"],
},
};
export let options: Options = merge(localOptions, defaultOptions);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ import merge from "ts-deepmerge";

export const localOptions: Options = {
thresholds: {
"group_duration{group:::Issuer connects with Holder}": ["avg < 15000"],
"group_duration{group:::Issuer connects with Holder}": ["avg < 30000"],
"group_duration{group:::Issuer creates credential offer for Holder}": [
"avg < 60000",
],
"group_duration{group:::Issuer issues credential to Holder}": [
"avg < 60000",
],
"group_duration{group:::Holder receives credential from Issuer}": [
"avg < 15000",
"avg < 30000",
],
},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import merge from "ts-deepmerge";

export const localOptions: Options = {
thresholds: {
"group_duration{group:::Holder connects with Issuer}": ["avg < 15000"],
"group_duration{group:::Holder connects with Issuer}": ["avg < 30000"],
"group_duration{group:::Issuer creates credential offer for Holder}": [
"avg < 120000",
],
"group_duration{group:::Holder connects with Verifier}": ["avg < 15000"],
"group_duration{group:::Holder connects with Verifier}": ["avg < 30000"],
"group_duration{group:::Verifier requests proof from Holder}": [
"avg < 15000",
"avg < 30000",
],
},
};
Expand Down

0 comments on commit 0aee0cc

Please sign in to comment.