Skip to content

Commit 1da453f

Browse files
committed
Bump up some timeouts to account for slow-running requests
1 parent fc1f93e commit 1da453f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

test/integration/index.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ const downloadArtifacts = require('../../scripts/download-artifacts')
3737

3838
const yamlFolder = downloadArtifacts.locations.testYamlFolder
3939

40-
const MAX_API_TIME = 1000 * 90
41-
const MAX_FILE_TIME = 1000 * 30
42-
const MAX_TEST_TIME = 1000 * 6
40+
const MAX_FILE_TIME = 1000 * 90
41+
const MAX_TEST_TIME = 1000 * 60
4342

4443
const options = minimist(process.argv.slice(2), {
4544
boolean: ['bail'],
@@ -56,7 +55,11 @@ const getAllFiles = async dir => {
5655
}
5756

5857
function runner (opts = {}) {
59-
const options = { node: opts.node, auth: { apiKey: opts.apiKey } }
58+
const options = {
59+
node: opts.node,
60+
auth: { apiKey: opts.apiKey },
61+
requestTimeout: 45000
62+
}
6063
const client = new Client(options)
6164
log('Loading yaml suite')
6265
start({ client })

0 commit comments

Comments
 (0)