Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't show max listeners warning when running tests in parallel #1722

Merged
merged 1 commit into from Jan 4, 2018

Conversation

JoelEinbinder
Copy link
Collaborator

No description provided.

@@ -60,8 +60,9 @@ if (process.env.PPTR_PARALLEL_TESTS)
const parallelArgIndex = process.argv.indexOf('-j');
if (parallelArgIndex !== -1)
parallel = parseInt(process.argv[parallelArgIndex + 1], 10);
require('events').defaultMaxListeners *= parallel;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will kill certain tests check for the warning, but i guess that's not a big deal for the parallel mode

@aslushnikov aslushnikov merged commit ed3fc47 into puppeteer:master Jan 4, 2018
igorshapiro pushed a commit to WiserSolutions/puppeteer that referenced this pull request Jan 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants