Add tests for RoutingMasterCore
Several issues have arisen with RoutingMasterCore functionality vs. expectations. A comprehensive suite of unit tests should be implemented to ensure that RoutingMasterCore (which does the work of the Routing Master application) meets expectations.
#1 Updated by Eric Flumerfelt over 1 year ago
Work in progress on artdaq:feature/22280_RoutingMasterCore_t, based on Kurt's feature/22122_RMCore_Tweaks.
So far, testing has uncovered issues with the state machine, handling of tokens from non-registered receiver ranks, and premature program exits.
It also includes a more complete solution to Issue #22122, where the Routing Master will add new routing information to the tables it sends out, subject to timeouts, when it is having issues collecting acknowledgements from all of the sender ranks. This will help in situations where a non-critical sender goes away for some period of time.
#2 Updated by Eric Flumerfelt over 1 year ago
- Status changed from Work in progress to Resolved
RoutingMasterCore_t has reached the point where it is testing most of RoutingMasterCore, except for some cases where sockets fail to set up correctly.
There have been several changes to RoutingMasterCore on this branch, as testing has turned up potential bugs in that class.