Skip to content

Commit

Permalink
test: increase timeout for fatal errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ricellis committed Nov 23, 2023
1 parent 3282764 commit 6c75fe6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"files": "package-lock.json|test/fixtures|^.secrets.baseline$",
"lines": null
},
"generated_at": "2023-10-26T17:26:38Z",
"generated_at": "2023-11-23T11:02:43Z",
"plugins_used": [
{
"name": "AWSKeyDetector"
Expand Down Expand Up @@ -172,7 +172,7 @@
"hashed_secret": "ec4e1dbc7f64a0e052e855036f9470e7881f06fd",
"is_secret": false,
"is_verified": false,
"line_number": 201,
"line_number": 205,
"type": "Base64 High Entropy String",
"verified_result": null
}
Expand Down
4 changes: 4 additions & 0 deletions test/fatalerrors.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ async function restoreHttpError(opts, errorName, errorCode) {

[{ useApi: true }, { useApi: false }].forEach(function(params) {
describe(u.scenario('#unit Fatal errors', params), function() {
// These tests do real requests with mocks and if they run slowly
// the 2 second default mocha timeout can be insufficient, use 10 s
this.timeout(10000);

let processEnvCopy;
let proxy;

Expand Down

0 comments on commit 6c75fe6

Please sign in to comment.