From 53dacb0fc00d84b25d22352fd7207e7677dddc35 Mon Sep 17 00:00:00 2001 From: xudan Date: Sat, 24 Feb 2018 04:35:08 -0500 Subject: Adapt Bottlenecks Euphrates framework Bottlenecks stress test needs some adaptions about Bottlenecks Euphrates release. JIRA: DOVETAIL-587 Change-Id: Ia447143c8f08924ac1b190ee0173f39e462c5dfa Signed-off-by: xudan --- dovetail/container.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dovetail/container.py') 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={}" -- cgit 1.2.3-korg