From: Ondrej Lichtner olichtne@redhat.com
I just noticed that in the Netperf documentation they say that the confidence interval (reported in the warning message when the requested confidence wasn't reached) is the width of the whole interval, therefore we need to divide by 2 to report the +- value properly.
Signed-off-by: Ondrej Lichtner olichtne@redhat.com --- test_modules/Netperf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test_modules/Netperf.py b/test_modules/Netperf.py index ab79646..bbd6ea0 100644 --- a/test_modules/Netperf.py +++ b/test_modules/Netperf.py @@ -165,7 +165,7 @@ class Netperf(TestGeneric): float(normal_confidence.group(1))) else: real_confidence = (float(normal_confidence.group(2)), - float(warning_confidence.group(1))) + float(warning_confidence.group(1))/2)
return real_confidence
lnst-developers@lists.fedorahosted.org