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(testrunner): properly handle testrunner terminations #4717

Merged

Conversation

aslushnikov
Copy link
Contributor

This patch improves the logic for test runner termination.
With this patch:

  • TestRunner runs all afterEach/afterAll hooks when a
    termination happens, properly terminating browser instances
  • TestRunner cleans up all dangling timeout timers so that node.js
    process is not retained and is free to exit

This patch improves the logic for test runner termination.
With this patch:
- TestRunner runs all afterEach/afterAll hooks when a
termination happens, properly terminating browser instances
- TestRunner cleans up all dangling timeout timers so that node.js
process is not retained and is free to exit
@aslushnikov aslushnikov merged commit eea55bd into puppeteer:master Jul 16, 2019
@aslushnikov aslushnikov deleted the proper-testrunner-termination branch July 16, 2019 23:26
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.

2 participants