Skip to content

Draft: Test of dst merging step

Nicole Skidmore requested to merge mergingtest2 into master

Tests FSR and file event merging

FSR test is not working

 try:
    tester=unittest.TestCase()
    tester.assertEqual(expected, fsr_root['LumiCounter.eventsByRun'])
    print("fsr_root['LumiCounter.eventsByRun'] : ", fsr_root['LumiCounter.eventsByRun'])
  except AssertionError as err:
    causes.append(f"FSR content wrong for {file}")

as FSR output of merging is

{'guid': '5405901E-32DF-11EE-86EA-3CECEF1070AC', 'inputs': [{'LumiCounter.eventsByRun': {'counts': {'255620': 7009}, 'empty': False, 'type': 'LumiEventCounter'}, 'guid': '65579A2A-315D-11EE-B79D-3CECEF1070AC'}, {'LumiCounter.eventsByRun': {'counts': {'255620': 12381}, 'empty': False, 'type': 'LumiEventCounter'}, 'guid': '0C38B892-315E-11EE-9687-3CECEF1070AC'}]}

Merge request reports

Loading