Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:49:30

0001 import FWCore.ParameterSet.Config as cms
0002 from FWCore.ParameterSet.VarParsing import VarParsing
0003 
0004 process = cms.Process("Test")
0005 
0006 process.source = cms.Source("EmptySource")
0007 
0008 process.maxEvents.input = 1
0009 
0010 process.options.numberOfThreads = 2
0011 process.options.numberOfStreams = 0
0012 
0013 process.dummySyncAna = cms.EDAnalyzer("SonicDummyOneAnalyzer",
0014     input = cms.int32(1),
0015     expected = cms.int32(-1),
0016     Client = cms.PSet(
0017         mode = cms.string("Sync"),
0018         factor = cms.int32(-1),
0019         wait = cms.int32(10),
0020         allowedTries = cms.untracked.uint32(0),
0021         fails = cms.uint32(0),
0022     ),
0023 )
0024 
0025 process.dummySyncAnaRetry = process.dummySyncAna.clone(
0026     Client = dict(
0027         wait = 2,
0028         allowedTries = 2,
0029         fails = 1,
0030     )
0031 )
0032 
0033 process.p1 = cms.Path(process.dummySyncAna)
0034 process.p2 = cms.Path(process.dummySyncAnaRetry)