summaryrefslogtreecommitdiffstats
path: root/storperf/storperf_master.py
diff options
context:
space:
mode:
authorMark Beierl <mark.beierl@emc.com>2016-05-12 10:05:25 -0600
committerMark Beierl <mark.beierl@emc.com>2016-05-12 10:35:49 -0600
commitd0f40c056a9283f30df45da5d35b72ce79b5d9a0 (patch)
treea0ece870394afa7eb1f936b2cf3a8c4583853d4f /storperf/storperf_master.py
parent4e7e1d2ffea89950ae516a19997765daccf92664 (diff)
Results DB Reporting
Add the ability to push results to the test result db. If the environment variable TEST_DB_URL is defined, results will be pushed there. If not, no push is attempted. Change-Id: Ib833530d7379c5f37f0d2904a83d31a4ee559ae6 JIRA: STORPERF-13 Signed-off-by: Mark Beierl <mark.beierl@emc.com>
Diffstat (limited to 'storperf/storperf_master.py')
-rw-r--r--storperf/storperf_master.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/storperf/storperf_master.py b/storperf/storperf_master.py
index 0f86a95..395a2ab 100644
--- a/storperf/storperf_master.py
+++ b/storperf/storperf_master.py
@@ -1,5 +1,5 @@
##############################################################################
-# Copyright (c) 2015 EMC and others.
+# Copyright (c) 2016 EMC and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
@@ -312,13 +312,12 @@ class StorPerfMaster(object):
thread.join()
self._test_executor.slaves = slaves
- job_id = self._test_executor.execute()
params = metadata
params['agent_count'] = self.agent_count
params['public_network'] = self.public_network
params['volume_size'] = self.volume_size
- self.job_db.record_workload_params(job_id, params)
+ job_id = self._test_executor.execute(params)
return job_id