summaryrefslogtreecommitdiffstats
path: root/utils/env_prepare
diff options
context:
space:
mode:
authorAce Lee <liyin11@huawei.com>2017-07-20 08:48:47 +0000
committerAce Lee <liyin11@huawei.com>2017-07-20 09:10:51 +0000
commitfe6c624370552e141cc80d1b697de7d9717763c9 (patch)
tree3ebb42a805a1fbfc6b98f33752f80e7fd0ac867c /utils/env_prepare
parent962b6269fdee0991251304a2b16cba78961d4b42 (diff)
Bug fix: Bottlenecks sometimes deadlock
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>
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)