Skip to content
Snippets Groups Projects
Verified Commit 90d8a253 authored by drebs's avatar drebs
Browse files

[test] account for first timers in outlier calculation

When it's the first time a test is run, there'll not be previous results
to compare against. The script that calculates outliers was not prepared
for this situation. This commit just fixes that.
parent e2d4f002
Branches traduccion/red_plenty
No related tags found
1 merge request!173#9016 - Cache user quota in blobs filesystem backend
Pipeline #
......@@ -145,6 +145,8 @@ def detect_bad_outlier(test, mean, extra):
def _detect_outlier(test, name, value, list):
if not list:
return 0
mean = _mean(list)
std = _std(list)
result = 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment