Project

General

Profile

Feature #22280

Add tests for RoutingMasterCore

Added by Eric Flumerfelt 7 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
Start date:
04/03/2019
Due date:
% Done:

0%

Estimated time:
Experiment:
-
Co-Assignees:
Duration:

Description

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.

History

#1 Updated by Eric Flumerfelt 7 months 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 7 months 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.



Also available in: Atom PDF