1 # Test the seeds service.
3 # Policy: preDefinedOffset
4 # Valid: no (one seed offset is used more than once)
6 # Purpose: check on seed collisions
9 # This test configuration contains errors. The second module will fail (trying
10 # to use a seed already used by the first one), so its configuration informs it
11 # of the expected failure. Yet, if one day art decided to run the two test
12 # module instances in the reversed order (it does not guarantee it won't),
13 # this clumsy method of detecting failure will break.
15 # Note that there are two expected errors: the test module asks for the seed
16 # twice to verify that the seed is always the same; each of the two calls will
17 # generate one error (as exception).
20 #include "messageService.fcl"
22 # Give this job a name.
23 process_name : SeedTestPredefinedOfs
25 # Start form an empty source
28 module_type : EmptyEvent
34 message : @local::mf_interactive
35 RandomNumberGenerator: {}
38 policy : "preDefinedOffset"
43 endOfJobSummary : true
63 module_type : SeedTestPolicy
65 instanceNames : [ "a", "b" ]
69 module_type : SeedTestPolicy
71 instanceNames : [ "a", "c" ]
77 e1 : [stest01, stest02]