Skip to content

Commit

Permalink
chore: comments added back in the code
Browse files Browse the repository at this point in the history
Signed-off-by: Jigar Joshi <[email protected]>
  • Loading branch information
jigar-joshi-nirmata committed Jan 15, 2025
1 parent ab86abf commit e4f92dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions k6/tests/kyverno-pss.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const config = getConfig();
export let options = {
scenarios: {},
thresholds: {
"checks{type:smoke}": [
"checks{type:smoke}": [ // checks should pass for 99% of requests
{ threshold: `rate>${config.smoke.rate}`, abortOnFail: true },
],
"http_req_duration{type:smoke}": [
Expand All @@ -82,7 +82,7 @@ export let options = {
],
"http_req_duration{type:average}": [
{ threshold: `p(95)<${config.average.duration}`, abortOnFail: true },
],
], // 95% of requests should be below 600ms
"checks{type:stress}": [
{ threshold: `rate>${config.stress.rate}`, abortOnFail: true },
],
Expand Down

0 comments on commit e4f92dd

Please sign in to comment.