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
21 from Configurables
import (
23 AvalancheSchedulerSvc,
43 whiteboard = HiveWhiteBoard(
"EventDataSvc", EventSlots=evtslots)
51 slimeventloopmgr = HiveSlimEventLoopMgr(
52 SchedulerName=
"AvalancheSchedulerSvc", OutputLevel=INFO
62 scheduler = AvalancheSchedulerSvc(ThreadPoolSize=threads, OutputLevel=VERBOSE)
68 AlgResourcePool(OutputLevel=INFO)
74 a1 = Test__ViewTester(
"A1")
75 a1.Cardinality = cardinality
78 a2 = Test__ViewTester(
"A2")
79 a2.Cardinality = cardinality
83 emptySeq = Gaudi__Sequencer(
92 topSeq = Gaudi__Sequencer(
95 Members=[a1, emptySeq, a2],
109 EventLoop=slimeventloopmgr,
111 MessageSvcType=
"InertMessageSvc",