summaryrefslogtreecommitdiffstats
path: root/utils/env_prepare
diff options
context:
space:
mode:
authorAce Lee <liyin11@huawei.com>2017-07-20 08:48:47 +0000
committerYu Yang (Gabriel) <Gabriel.yuyang@huawei.com>2017-07-24 02:55:12 +0000
commit05094807a0908e314e81d2d1c79255856ff2bcf2 (patch)
tree3dc67831d8146825fb5652664053447f49659103 /utils/env_prepare
parent41f9a76fbb5d5ae8aa97d02ec0965717dc8093b2 (diff)
Bug fix: Bottlenecks sometimes deadlockdanube.3.1
JIRA: BOTTLENECK-173 This patch will change the way to call multithreading. And change some encoding error about Yardstick config Change-Id: I04803bff6acaad1089d180b104652049f1f0a485 Signed-off-by: Ace Lee <liyin11@huawei.com> (cherry picked from commit fe6c624370552e141cc80d1b697de7d9717763c9)
Diffstat (limited to 'utils/env_prepare')
-rw-r--r--utils/env_prepare/stack_prepare.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/env_prepare/stack_prepare.py b/utils/env_prepare/stack_prepare.py
index 157122ab..c7dae390 100644
--- a/utils/env_prepare/stack_prepare.py
+++ b/utils/env_prepare/stack_prepare.py
@@ -44,7 +44,7 @@ def _prepare_env_daemon(test_yardstick):
file_after)
docker_env.docker_exec_cmd(yardstick_contain,
cmd)
- cmd = "sed -i ā€˜12s/http/file/gā€™ /etc/yardstick/yardstick.conf"
+ cmd = "sed -i '12s/http/file/g' /etc/yardstick/yardstick.conf"
docker_env.docker_exec_cmd(yardstick_contain,
cmd)