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

test: Add tests for ThreadSafeFunction's NonBlock function overloads #1249

Merged
merged 2 commits into from
Jan 24, 2023

Conversation

JckXia
Copy link
Member

@JckXia JckXia commented Dec 14, 2022

Added test coverage for ThreadSafeFunction 's missing NonBlockingCall function overloads. In particular test cases for when we pass just the single js function into the tsfn, or nothing at all.

@JckXia JckXia added the test label Dec 14, 2022
Copy link
Member

@mhdawson mhdawson left a comment

Choose a reason for hiding this comment

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

LGTM

@JckXia JckXia force-pushed the add-tests-for-threadsafe-non-block branch from 544a266 to 79ccf60 Compare December 20, 2022 00:03
@KevinEady
Copy link
Contributor

KevinEady commented Dec 31, 2022

@mhdawson
Copy link
Member

@KevinEady I see you ran a number of tests. Looks like they passed, are you good with this landing?

Copy link
Contributor

@KevinEady KevinEady left a comment

Choose a reason for hiding this comment

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

LGTM!

@JckXia JckXia merged commit 78b5a15 into nodejs:main Jan 24, 2023
@JckXia
Copy link
Member Author

JckXia commented Jan 24, 2023

Landed as 78b5a15

@JckXia JckXia deleted the add-tests-for-threadsafe-non-block branch January 24, 2023 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants