Fix flaky disablekeepalives test#1328
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1328 +/- ##
==========================================
+ Coverage 43.51% 43.57% +0.05%
==========================================
Files 305 305
Lines 32866 32877 +11
==========================================
+ Hits 14303 14327 +24
+ Misses 17642 17629 -13
Partials 921 921
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
rafaelroquetto
left a comment
There was a problem hiding this comment.
LGTM - but I do have a question: I did see in the code that we sometimes insert a zeroed connection info into this map, but what does a zeroed connection info mean, semantically speaking?
Zeroed connection will work, it means no information. |
I think this means we couldn't find the information we needed. Perhaps we are cleaning up the connection information where we shouldn't, so maybe the keepalives fail because of this. We cleaned up on first request termination and from then on we don't supply it. |
|
I took a look at the code, it seems like we don't delete this info, so it must be a connection type we don't handle well and we've stored the empty connection info: I think the fix is good. |
Checklist