mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-21 06:25:15 -04:00
Tests: Rerun tests that only barely clear the slowness threshold (#5484)
This commit is contained in:
parent
cbb202218e
commit
9aade48c25
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ async def main() -> None:
|
|||
if cfg.flag_slow:
|
||||
print("\n" + "-" * 15 + "--------------- Slow Tests ---------------" + "-" * 15)
|
||||
threshold = 2 * percentile(timings, 0.95)
|
||||
outliers = [r for r in all_results if r.duration > threshold]
|
||||
outliers = [r for r in all_results if r.duration > 0.95 * threshold]
|
||||
maybe_slow = [r for r in outliers if r.fullname not in cfg.slow_suppressions]
|
||||
num_suppressed = len(outliers) - len(maybe_slow)
|
||||
rerun_tasks: List[Task[BatchResult]] = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue