summaryrefslogtreecommitdiffstats
path: root/dovetail/test_runner.py
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2018-08-28 04:16:29 -0400
committerxudan <xudan16@huawei.com>2018-08-28 04:16:29 -0400
commite79f851c5b804db5884be05a50bc3ae0abe222b4 (patch)
treec08a2ba236bf9e32cbb0a6c34bb4e6e62791f0f5 /dovetail/test_runner.py
parent8e2c2b42dff66d9896bfc5a8da8ee86cb18e8cb8 (diff)
Change Bottlenecks volume mapping
If mapping to host's /tmp, it won't clean all .log and .out files before run a new test. It causes the results file including all previous results. See https://build.opnfv.org/ci/view/dovetail/job/dovetail-apex-baremetal-default-mandatory-master/26/artifact/results/stress_logs/bottlenecks.stress.ping.out/*view*/ It will affect the results check. Mapping to DOVETAIL_HOME/results/bottlenecks, which will always be cleaned before running another test. Change-Id: I22bfc871d6f041ae38308bf8e8f685993a376973 Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'dovetail/test_runner.py')
-rw-r--r--dovetail/test_runner.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/dovetail/test_runner.py b/dovetail/test_runner.py
index cb5578b0..9b5114f8 100644
--- a/dovetail/test_runner.py
+++ b/dovetail/test_runner.py
@@ -145,6 +145,7 @@ class DockerRunner(object):
config_item['os_insecure'] = os.getenv("OS_INSECURE")
if 'DEPLOY_SCENARIO' in os.environ:
config_item['deploy_scenario'] = os.environ['DEPLOY_SCENARIO']
+ config_item['dovetail_home'] = os.getenv("DOVETAIL_HOME")
return config_item
def _update_config(self, testcase):