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

Detect process.exit() called from tests #3080

Merged
merged 13 commits into from
Sep 4, 2022

Conversation

gibson042
Copy link
Contributor

Fixes #861

Copy link
Member

@novemberborn novemberborn left a comment

Choose a reason for hiding this comment

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

Amazing!

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
A worker cannot observe a peer-failed message sent before it started listening.
@gibson042 gibson042 force-pushed the gh-861-process-exit branch from 9e1f9fe to 96ff6ef Compare August 16, 2022 07:17
@novemberborn
Copy link
Member

@gibson042 I should have some time this week to help get this over the line.

Verified

This commit was signed with the committer’s verified signature.
novemberborn Mark Wubben

Verified

This commit was signed with the committer’s verified signature.
novemberborn Mark Wubben

Verified

This commit was signed with the committer’s verified signature.
novemberborn Mark Wubben

Verified

This commit was signed with the committer’s verified signature.
novemberborn Mark Wubben
No need for other error details, the error is synthetic anyway.

Verified

This commit was signed with the committer’s verified signature.
novemberborn Mark Wubben

Verified

This commit was signed with the committer’s verified signature.
novemberborn Mark Wubben

Verified

This commit was signed with the committer’s verified signature.
novemberborn Mark Wubben
@novemberborn
Copy link
Member

@gibson042 thanks for 96ff6ef (#3080)! Let's see if it improves things.

I've pushed several updates, please let me know what you think.

@gibson042
Copy link
Contributor Author

@novemberborn The updates look good to me. My only further change was to rename the generic proxyApply to handleProcessExit.

@novemberborn novemberborn changed the title Override process.exit in tests Detect process.exit() called from tests Sep 4, 2022
@novemberborn novemberborn merged commit ea597d8 into avajs:main Sep 4, 2022
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.

Override process.exit to give some context when it's called unexpectedly in a test.
2 participants