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

feat: make close timeout configurable #1697

Merged

Conversation

krishnan-chandra
Copy link
Contributor

(Closes #1659)

This PR replaces the hardcoded CLOSE_TIMEOUT value for timeout on test teardown with a teardownTimeout setting. It retains the current default value of 1000 ms (1 second).

@krishnan-chandra krishnan-chandra changed the title Make close timeout configurable feat: make close timeout configurable Jul 21, 2022
Copy link
Member

@sheremet-va sheremet-va left a comment

Choose a reason for hiding this comment

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

I don't think changing pnpm-lock is needed

@krishnan-chandra
Copy link
Contributor Author

You're correct! My apologies, pnpm-lock change has been removed now.

@sheremet-va sheremet-va merged commit 003c87f into vitest-dev:main Jul 22, 2022
@krishnan-chandra krishnan-chandra deleted the make-close-timeout-configurable branch July 22, 2022 17:43
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.

Configurable CLOSE_TIMEOUT
3 participants