Skip to content

Commit

Permalink
extend the test timeout along with the startup timeout (#52110)
Browse files Browse the repository at this point in the history
  • Loading branch information
Spencer authored Dec 3, 2019
1 parent 312821f commit c4143b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/legacy/server/config/__tests__/deprecation_warnings.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const SETUP_NODE_ENV = require.resolve('../../../../setup_node_env');
const SECOND = 1000;

describe('config/deprecation warnings', function () {
this.timeout(15 * SECOND);
this.timeout(65 * SECOND);

let stdio = '';
let proc = null;
Expand All @@ -53,7 +53,7 @@ describe('config/deprecation warnings', function () {

// Either time out in 60 seconds, or resolve once the line is in our buffer
return Promise.race([
new Promise((resolve) => setTimeout(resolve, 60000)),
new Promise((resolve) => setTimeout(resolve, 60 * SECOND)),
new Promise((resolve, reject) => {
proc.stdout.on('data', (chunk) => {
stdio += chunk.toString('utf8');
Expand Down

0 comments on commit c4143b2

Please sign in to comment.