Skip to content

Commit

Permalink
chore: comments updated with the updated status of 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 e4f92dd commit 0c2a485
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions k6/tests/kyverno-pss.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,18 @@ const config = getConfig();
export let options = {
scenarios: {},
thresholds: {
"checks{type:smoke}": [ // checks should pass for 99% of requests
"checks{type:smoke}": [ // checks should pass for (config.smoke.rate*100)% of requests
{ threshold: `rate>${config.smoke.rate}`, abortOnFail: true },
],
"http_req_duration{type:smoke}": [
"http_req_duration{type:smoke}": [ // 95% of requests should be below (config.smoke.duration)ms
{ threshold: `p(95)<${config.smoke.duration}`, abortOnFail: true },
],
"checks{type:average}": [
{ threshold: `rate>${config.average.rate}`, abortOnFail: true },
],
"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 0c2a485

Please sign in to comment.