From 4499b5380b97ac0d64e3ba8701f1b8638609b420 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 29 Aug 2019 12:14:32 +0200 Subject: require a name in Benchmark.__init__ --- src/benchmarks/httpd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/benchmarks/httpd.py') diff --git a/src/benchmarks/httpd.py b/src/benchmarks/httpd.py index 22824f9..16d3b20 100644 --- a/src/benchmarks/httpd.py +++ b/src/benchmarks/httpd.py @@ -26,7 +26,7 @@ class BenchmarkHTTPD(Benchmark): """TODO""" def __init__(self): - self.name = "httpd" + name = "httpd" self.args = {"nthreads": Benchmark.scale_threads_for_cpus(2), "site": ["index.html", "index.php"]} @@ -37,7 +37,7 @@ class BenchmarkHTTPD(Benchmark): self.requirements = ["nginx", "ab"] - super().__init__() + super().__init__(name) @staticmethod def process_output(result, stdout, stderr, allocator, perm): -- cgit v1.2.3