Notice to GitKraken users: A vulnerability has been found in the SSH key generation of GitKraken versions 7.6.0 to 8.0.0 (https://www.gitkraken.com/blog/weak-ssh-key-fix). If you use GitKraken and have generated a SSH key using one of these versions, please remove it both from your local workstation and from your LRZ GitLab profile.

21.10.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit 2820ebf3 authored by Daniel Lehmberg's avatar Daniel Lehmberg
Browse files

change optimization tests to long timeout, because the brute force comparison is expensive

parent 4db3c6d8
Pipeline #132620 failed with stages
in 85 minutes and 56 seconds
......@@ -74,8 +74,9 @@ def run_all_optimization_tests():
config_filepath = os.path.join("VadereOptimizationTests", "TestNelderMead", "vadere.conf")
# NOTE: it is likely that the set config file is not required by new optimization tests
# long_timeout, because the brute force is expensive.
passed_and_failed_scenarios = run_scenario_files_with_vadere_console(
scenario_files, scenario_timeout_in_sec=short_timeout_in_seconds, config_filepath=config_filepath)
scenario_files, scenario_timeout_in_sec=long_timeout_in_seconds, config_filepath=config_filepath)
return passed_and_failed_scenarios
......@@ -215,13 +216,13 @@ def result_dict_print_summary(passed_and_failed_scenarios):
total_passed_scenarios = len(passed_and_failed_scenarios["passed"])
total_failed_scenarios = len(passed_and_failed_scenarios["failed"])
total_scenarios = total_passed_scenarios + total_failed_scenarios
faild_summary = passed_and_failed_scenarios["failed_summary"]
failed_summary = passed_and_failed_scenarios["failed_summary"]
if len(faild_summary) > 0:
if result_dict_has_failed_tests(passed_and_failed_scenarios):
print("##################")
print("# Failed Summary #")
print("##################")
for line in faild_summary:
for line in failed_summary:
print(line)
print("###########")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment