Skip to content

Add test for database upload

Aleksandra Poreba requested to merge aporeba-add-dbupload-test into master

Add TestDatabaseUpload possible to run by test_AutoPrescaleEditor_DatabaseUpload

  1. Configure the L1PrescaleSaver with db alias and smk passed by argument. Set the DatabaseAccess output files dir to the execution directory
  2. Configure the L1Prescale and read the prescales from the database using key passed by argument.
  3. Change cut to random of items from the list (based on APE rules from OKS)
  4. Save prescales set to the database

Tagging @mark

Edited by Aleksandra Poreba

Merge request reports