-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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(NODE-3860): improve skipReason reporting for disabled 'auth' tests #3137
Conversation
9970a7b
to
ed88651
Compare
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.
LGTM in general, but what do we think of dropping the leading instance of test
in testSkipBrokenAuthTestBeforeEachHook
and just making it skipBrokenAuthTestBeforeEachHook
?
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.
LGTM ty!
Description
What is changing?
This PR cleans up the
skipReason
logic added in #3121. By including the skipReason and the filter statusauth: disabled
in the metadata for tests that fail becauseauth
was enabled, in cases where the test would not have run due to other requirements, we report the skip reason being thatauth
was enabled rather than the actual skip reason for the test.This PR also fixes the broken AWS tests.
Is there new documentation needed for these changes?
No.
Double check the following
npm run check:lint
script<type>(NODE-xxxx)<!>: <description>