From 2994748e8112feccf870ff9db923040346dfee60 Mon Sep 17 00:00:00 2001 From: mbeierl Date: Fri, 17 Feb 2017 17:43:39 -0500 Subject: Steady State Metrics Changes the overall value of all metrics to be based on the calculated steady state values instead of the average for the entire run. Change-Id: I121929d5fe2dd43df7f289b82e9f5291c9ea9aab JIRA: STORPERF-107 Signed-off-by: mbeierl --- storperf/db/job_db.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'storperf/db/job_db.py') diff --git a/storperf/db/job_db.py b/storperf/db/job_db.py index 05160ec..eabcb54 100644 --- a/storperf/db/job_db.py +++ b/storperf/db/job_db.py @@ -58,9 +58,9 @@ class JobDB(object): cursor.execute('''CREATE TABLE job_summary (job_id text, summary text)''') - self.logger.debug("Created job table") + self.logger.debug("Created job summary table") except OperationalError: - self.logger.debug("Job table exists") + self.logger.debug("Job summary table exists") cursor.execute('SELECT * FROM jobs') cursor.execute('SELECT * FROM job_params') @@ -250,6 +250,5 @@ class JobDB(object): if (row is None): break params[row[0]] = row[1] - db.close() return params -- cgit 1.2.3-korg