13Test the correct handling on errors during the event processing:
14- The CPUCruncher is configured to return an ERROR on a fraction of the events
15- The EventLoopMgr is configured to continue with the next event on ERROR
18from Configurables
import (
21 AvalancheSchedulerSvc,
38 SchedulerName=
"AvalancheSchedulerSvc", OutputLevel=DEBUG, AbortOnFailure=
False
57a1.outKeys = [
"/Event/a1"]
60a2.inpKeys = [
"/Event/a1"]
61a2.outKeys = [
"/Event/a2"]
64a3.inpKeys = [
"/Event/a1"]
65a3.outKeys = [
"/Event/a3"]
69a4.inpKeys = [
"/Event/a2"]
70a4.outKeys = [
"/Event/a4"]
73a5.inpKeys = [
"/Event/a3"]
74a5.outKeys = [
"/Event/a5"]
76for algo
in [a1, a2, a3, a4, a5]:
77 algo.Cardinality = cardinality
87 EventLoop=slimeventloopmgr,
88 TopAlg=[a1, a2, a3, a4, a5],
89 MessageSvcType=
"InertMessageSvc",
The AlgResourcePool is a concrete implementation of the IAlgResourcePool interface.
The Application Manager class.
A class that implements a search for prime numbers.
Thread safe extension to the standard MessageSvc.