Skip to content

Check if inputGeneratorFiles size matches inputFilesPerJob

Spyros Argyropoulos requested to merge inputfiles into master

Changes introduced

logParser will count how many input files are used using the printout

11:57:45 Py:Gen_tf            INFO inputGeneratorFile used ...

and will compare against

11:59:47 Py:Gen_tf            INFO            .inputFilesPerJob = 0 

If the numbers are not the same an error will be thrown.

Tests

Test that the test catches a problematic case:

ATLMCPROD-8716

Screenshot_2020-09-13_at_18.35.13

Test that the test passes when the number of files matches

Passes when I put

11:59:47 Py:Gen_tf            INFO            .inputFilesPerJob = 23   	# (Integer) number of input files per job. Possible values: value >= 0

in log.generate

Test that the code works with setups where inputGeneratorFile is empty

Passes with the log that Chris provided (no errors)
Screenshot_2020-09-14_at_09.45.17

Issues resolved

Closes #

Edited by Spyros Argyropoulos

Merge request reports