13 A test for a control flow bug arising from empty graph nodes
15 An empty node with ModeOR=True will return a default decision of False, without any algs needing evaluation
16 This can have the effect of short-circuiting/early return from its parent node, while also continuing
17 evaluation within that parent - see https://gitlab.cern.ch/gaudi/Gaudi/-/issues/135
19 In this test, A2 will run unless the bug has been fixed
22 from Configurables
import (
24 AvalancheSchedulerSvc,
44 whiteboard = HiveWhiteBoard(
"EventDataSvc", EventSlots=evtslots)
52 slimeventloopmgr = HiveSlimEventLoopMgr(
53 SchedulerName=
"AvalancheSchedulerSvc", OutputLevel=INFO
63 scheduler = AvalancheSchedulerSvc(ThreadPoolSize=threads, OutputLevel=VERBOSE)
69 AlgResourcePool(OutputLevel=INFO)
75 a1 = Test__ViewTester(
"A1")
76 a1.Cardinality = cardinality
79 a2 = Test__ViewTester(
"A2")
80 a2.Cardinality = cardinality
84 emptySeq = Gaudi__Sequencer(
93 topSeq = Gaudi__Sequencer(
96 Members=[a1, emptySeq, a2],
110 EventLoop=slimeventloopmgr,
112 MessageSvcType=
"InertMessageSvc",