Skip to content
Snippets Groups Projects
Commit 0686fd54 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

refactor(pip): increase setup.py timeout to 5000

parent 9e9b47f7
No related branches found
No related tags found
No related merge requests found
......@@ -47,11 +47,11 @@ async function extractSetupFile(content, packageFile, config) {
const { stdout, stderr } = await exec(`${cmd} ${args.join(' ')}`, {
cwd,
shell: true,
timeout: 3000,
timeout: 5000,
});
// istanbul ignore if
if (stderr) {
logger.warn({ stderr }, 'Error in read setup file');
logger.warn({ stdout, stderr }, 'Error in read setup file');
}
return JSON.parse(stdout);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment