Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:12:42

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
0007 process.MessageLogger.cerr.threshold = 'ERROR'
0008 
0009 import FWCore.Framework.test.cmsExceptionsFatalOption_cff
0010 process.options = cms.untracked.PSet(
0011   fileMode  = cms.untracked.string('FULLMERGE'),
0012   Rethrow = FWCore.Framework.test.cmsExceptionsFatalOption_cff.Rethrow
0013 )
0014 
0015 
0016 #this should fail
0017 process.source = cms.Source("PoolSource",
0018     fileNames = cms.untracked.vstring(
0019         'file:testRunMerge.root',
0020         'file:testRunMerge.root'
0021     ),
0022     needSecondaryFileNames = cms.untracked.bool(True),
0023     duplicateCheckMode = cms.untracked.string('checkEachRealDataFile')
0024 )
0025 
0026 process.out = cms.OutputModule("PoolOutputModule",
0027     fileName = cms.untracked.string('file:testRunMergeRecombinedFail.root')
0028 )
0029 
0030 process.endpath1 = cms.EndPath(process.out)