Skip to content
Snippets Groups Projects
Commit dd0b1df8 authored by Stewart Martin-Haugh's avatar Stewart Martin-Haugh
Browse files

New unit test for IOVDbSvc configuration

parent 0c83be5a
No related merge requests found
......@@ -59,3 +59,5 @@ atlas_add_test( IOVDbSvc_test
PROPERTIES TIMEOUT 300
EXTRA_PATTERNS "^HistogramPersis.* INFO|^IOVSvc +DEBUG|^IOVSvcTool +DEBUG"
ENVIRONMENT "JOBOPTSEARCHPATH=${CMAKE_CURRENT_SOURCE_DIR}/share" )
atlas_add_test( IOVDbSvcCfgTest SCRIPT python -m IOVDbSvc.IOVDbSvcConfig POST_EXEC_SCRIPT nopost.sh )
......@@ -218,3 +218,17 @@ def _extractFolder(folderstr):
if __name__ == "__main__":
from AthenaCommon.Configurable import Configurable
Configurable.configurableRun3Behavior=1
from AthenaConfiguration.AllConfigFlags import ConfigFlags
ConfigFlags.Input.Files =["/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/TrigP1Test/data17_13TeV.00327265.physics_EnhancedBias.merge.RAW._lb0100._SFO-1._0001.1"]
ConfigFlags.lock()
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
acc, iovdbSvc = IOVDbSvcCfg(ConfigFlags)
f=open('test.pkl','w')
acc.store(f)
f.close()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment