You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test/parallel/test-dns-channel-cancel-promise.js and test/parallel/test-dns-channel-cancel.js do not work as intended.
Both tests use mustNotCall() incorrectly, passing mustNotCall (i.e., a utility function that returns a function) when they should likely be passing mustNotCall() (i.e., the function returned by mustNotCall). However, properly using mustNotCall() (as in #44022) leads to failures because the function is indeed being called when the tests say that it should not be.
See #44022 (comment).
test/parallel/test-dns-channel-cancel-promise.js
andtest/parallel/test-dns-channel-cancel.js
do not work as intended.Both tests use
mustNotCall()
incorrectly, passingmustNotCall
(i.e., a utility function that returns a function) when they should likely be passingmustNotCall()
(i.e., the function returned bymustNotCall
). However, properly usingmustNotCall()
(as in #44022) leads to failures because the function is indeed being called when the tests say that it should not be.node/test/parallel/test-dns-channel-cancel-promise.js
Lines 10 to 18 in 3370e7c
node/test/parallel/test-dns-channel-cancel.js
Lines 13 to 21 in 3370e7c
Example output in #44022:
The text was updated successfully, but these errors were encountered: