Conversation
4e07f7c to
d0b5a67
Compare
Codecov Report
@@ Coverage Diff @@
## master #1103 +/- ##
=========================================
Coverage ? 79.81%
=========================================
Files ? 86
Lines ? 4394
Branches ? 802
=========================================
Hits ? 3507
Misses ? 628
Partials ? 259
Continue to review full report at Codecov.
|
da58b30 to
5dd1872
Compare
|
I think this fixes the flakiness that #988 also tried to fix, but in a different way. 😅 The problem that #988 worked around was that sometimes the This fixed the test flakyness, but did not fix the problems in the underlying code. I believe the changes in this PR in the But I think there is still problems with this code in general. There is no way to cancel any of the in-flight operations (e.g. the dns lookups) if the |
|
🎉 This PR is included in version 8.3.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This removes the stubbing of
dns.lookupwe had in place in some of our test cases.This stubbing was error prone and lead to a whole bunch of flaky test failures on CI.
Instead of stubbing functions, this changes relevant code to allow passing in a custom
lookupfunction, but falling back todns.lookupif that function isundefined.Closes: #988