diff --git a/coordinator/Processor.py b/coordinator/Processor.py index 100b7a851c9142400ae532f29664e4e750fc3368..84d3d3ba3004913493575adf23257181a63549a5 100755 --- a/coordinator/Processor.py +++ b/coordinator/Processor.py @@ -605,10 +605,10 @@ if __name__ == '__main__': args_dict: dict = parse_and_check_args(todayString) set_log_level(args_dict['log_level']) run_Process(args_dict) - except SystemExit: - + except SystemExit as e: + print("caught with code " + str(e.code)) logger.info('run_process() exited') - pass + sys.exit(e.code) except: logger.exception('Uncaught exception in run_Process:') diff --git a/tests/integration/full/full_test_env_suit.py b/tests/integration/full/full_test_env_suit.py index b5bd5bc83e2893d9630204cecd0e36fe981ecd64..aa4d5cbb60db37bda46d858db4503a7c34e1af4c 100644 --- a/tests/integration/full/full_test_env_suit.py +++ b/tests/integration/full/full_test_env_suit.py @@ -9,8 +9,8 @@ from integration.test_suites.env_suit_test_suite import BaseEnvSuitTestSuite class FullTestEnvSuit(BaseEnvSuitTestSuite.EnvSuitTestSuite): def set_expected_values(self): - self.EA_CSV_COUNT: int = 30 - self.ETH_CSV_COUNT: int = 30 + self.EA_CSV_COUNT: int = 18 + self.ETH_CSV_COUNT: int = 18 self.EA_PNG_COUNT: int = 6 self.ETH_PNG_COUNT: int = 6