diff options
author | xudan <xudan16@huawei.com> | 2018-02-24 04:35:08 -0500 |
---|---|---|
committer | xudan <xudan16@huawei.com> | 2018-02-24 04:53:44 -0500 |
commit | 53dacb0fc00d84b25d22352fd7207e7677dddc35 (patch) | |
tree | 9d0762ce03a4584f275299b6939b34d1fec3e1af /dovetail/container.py | |
parent | d41d22b691f112a0bae809c63296a10ca58c0a41 (diff) |
Adapt Bottlenecks Euphrates framework
Bottlenecks stress test needs some adaptions about Bottlenecks
Euphrates release.
JIRA: DOVETAIL-587
Change-Id: Ia447143c8f08924ac1b190ee0173f39e462c5dfa
Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'dovetail/container.py')
-rw-r--r-- | dovetail/container.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dovetail/container.py b/dovetail/container.py index 4c0d8c33..8b4f0fcd 100644 --- a/dovetail/container.py +++ b/dovetail/container.py @@ -137,6 +137,10 @@ class Container(object): docker_vol = '-v /var/run/docker.sock:/var/run/docker.sock' env = ('-e Yardstick_TAG={} -e OUTPUT_FILE={}.out' .format(yard_tag, testcase_name)) + insecure = os.getenv("OS_INSECURE") + if insecure and insecure.lower() == 'true': + env = env + " -e OS_CACERT=False " + report = "" if dovetail_config['report_dest'].startswith("http"): report = ("-e BOTTLENECKS_DB_TARGET={}" |