Commit 5549762d authored by René Paris's avatar René Paris Committed by Reinhard Biegel
Browse files

fix(pyOpenPASS): Continue after failing invocation

Testing was aborted after the first failing run if several invocations
were requested. In addition, all subsequent tests were marked as
successful, meaning that if the first out of 10 tests failed, a wrong
success rate of 90% was reported.

With this fix all invocations are executed independently, even if a
single one fails.
Signed-off-by: René Paris's avatarRene Paris <>
parent efa49df8
......@@ -39,7 +39,6 @@ def analyse(analyse_info, artifacts):
base_run = os.path.join(artifacts, f'Cyclics_Run_{i:03}.csv')
if not query_result(base_run, agents, events, i, query, analyse_info.datatypes):
break # do not execute futher queries
success_rate = (analyse_info.invocations - len(failed_runs)) / analyse_info.invocations
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