-
Notifications
You must be signed in to change notification settings - Fork 1.8k
chore(NODE-4348): enhance skip reason filtering in unified runner #3303
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
Conversation
7cffd8d
to
d098a78
Compare
test/integration/unified-test-format/unified_test_format.spec.test.ts
Outdated
Show resolved
Hide resolved
test/integration/unified-test-format/unified_test_format.spec.test.ts
Outdated
Show resolved
Hide resolved
test/integration/unified-test-format/unified_test_format.spec.test.ts
Outdated
Show resolved
Hide resolved
test/integration/unified-test-format/unified_test_format.spec.test.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Neal Beeken <[email protected]>
Co-authored-by: Neal Beeken <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just the one comment which doesn't change the functionality just a general design nit for return values. Feel free to take it as a LGTM if anyone feels strongly against my input.
Also 1 lint issue. |
- fix lint error - update type to return false instead of null when tests should be run
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nicely done
Description
What is changing?
This PR enhances the skip test functionality of the unified runner. Rather than accepting an array of tests to skip, the runner now takes a function that is evaluated to determine whether a test should be skipped.
This PR also updates the existing usages of
runUnifedSuite
that skip tests to use the new function approach.Finally, some tests relating to auto connect and change stream resumability were unskipped.
Is there new documentation needed for these changes?
Negative.
Double check the following
npm run check:lint
script<type>(NODE-xxxx)<!>: <description>