mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2026-11-25 21:21:37 +00:00
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:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user