Skip to content

Commit

Permalink
Update the threshold in throttle example
Browse files Browse the repository at this point in the history
We keep hitting the threshold when testing against the test website, so
this should help avoid this when running CI during the day.
  • Loading branch information
ankur22 committed Sep 4, 2024
1 parent 62c4ac1 commit cdbb2dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions examples/throttle.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ export const options = {
},
},
thresholds: {
'browser_http_req_duration{scenario:normal}': ['p(99)<500'],
'browser_http_req_duration{scenario:networkThrottled}': ['p(99)<3000'],
'iteration_duration{scenario:normal}': ['p(99)<4000'],
'browser_http_req_duration{scenario:normal}': ['p(99)<2000'],
'browser_http_req_duration{scenario:networkThrottled}': ['p(99)<4000'],
'iteration_duration{scenario:normal}': ['p(99)<5000'],
'iteration_duration{scenario:cpuThrottled}': ['p(99)<10000'],
},
}
Expand Down
6 changes: 3 additions & 3 deletions sync-examples/sync_throttle.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ export const options = {
},
},
thresholds: {
'browser_http_req_duration{scenario:normal}': ['p(99)<500'],
'browser_http_req_duration{scenario:networkThrottled}': ['p(99)<3000'],
'iteration_duration{scenario:normal}': ['p(99)<4000'],
'browser_http_req_duration{scenario:normal}': ['p(99)<2000'],
'browser_http_req_duration{scenario:networkThrottled}': ['p(99)<4000'],
'iteration_duration{scenario:normal}': ['p(99)<5000'],
'iteration_duration{scenario:cpuThrottled}': ['p(99)<10000'],
},
}
Expand Down

0 comments on commit cdbb2dd

Please sign in to comment.