From 27109727907de0a275946765b201fbc0bd71116f Mon Sep 17 00:00:00 2001 From: xudan Date: Wed, 25 Apr 2018 03:35:02 -0400 Subject: Decoupling Bottlenecks Docker config items from source code There are some special Docker setting items when creating Bottlenecks Docker Cntainers. Move the special settings to config files. Disable the function to push results to DB. JIRA: DOVETAIL-645 Change-Id: Icc033222edf74c0fe4853dede2794f4226fd4252 Signed-off-by: xudan --- dovetail/testcase.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'dovetail/testcase.py') diff --git a/dovetail/testcase.py b/dovetail/testcase.py index 866c33b8..221d07f4 100644 --- a/dovetail/testcase.py +++ b/dovetail/testcase.py @@ -325,14 +325,6 @@ class BottlenecksTestcase(Testcase): def __init__(self, testcase_yaml): super(BottlenecksTestcase, self).__init__(testcase_yaml) self.type = 'bottlenecks' - self._update_cmds() - - def _update_cmds(self): - if dt_cfg.dovetail_config['report_dest'].startswith("http"): - try: - self.testcase['validate']['cmds'][0] += ' --report' - except KeyError: - return class ShellTestcase(Testcase): -- cgit 1.2.3-korg