WIP: Add test coverage for ConnectStream#298
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline and AI policy for information on the review process. ConflictsNo conflicts as of last run. |
ConnectStream
|
Thanks for following up to #183 with these tests. They do seem potentially useful. Here is feedback I'd have:
Overall the tests here seem reasonable to add. It seems good to have at least 1-2 tests verifying disconnects are processed when a capnproto client connects to a non-capnproto server. (Relatedly, there are also other disconnect tests that could be added at different points during capnproto connections, which I started to write in #201 (comment) and https://github.com/ryanofsky/libmultiprocess/commits/pr/distest.2 but was never able to really finish due to complexity of trying to set up and cover all of the relevant cases. Just mentioning this for completeness, though. There's probably not an obviously place to follow up with this at the moment.) |
d3390db to
cdada78
Compare
|
🐙 This pull request conflicts with the target branch and needs rebase. |
ref: bitcoin-core#183 This commit introduced new test cases to demonstrate how `ConnectStream` behaves under a few scenarios and improve coverage for it.
cdada78 to
4f05dbe
Compare
ref: #183
Opening this draft to make it visible to more reviewers. Quoting my comment in the issue as well:
I'm looking for more ideas for testing
ConnectStream.