fix(test): check the results of Bind, Connect, Send and Receive

- the message, region, channel and transport tests ignored the return
  values of these calls; a failed bind or a short transfer showed up
  later as an unrelated failure, or not at all
- assert each result where the test uses it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Claude
2026-11-03 14:05:38 +00:00
committed by Dennis Klein
parent df7d99bb76
commit ddb365efe4
4 changed files with 31 additions and 31 deletions

View File

@@ -81,7 +81,7 @@ void InterruptTransfer(const string& transport, const string& _address)
auto factory = TransportFactory::CreateTransportFactory(transport, Uuid(), &config);
Channel pull{"Pull", "pull", factory};
pull.Bind(address);
ASSERT_TRUE(pull.Bind(address));
MessagePtr msg(pull.NewMessage());