diff options
author | rexlee8776 <limingjiang@huawei.com> | 2016-09-20 23:55:53 +0000 |
---|---|---|
committer | liang gao <jean.gaoliang@huawei.com> | 2016-09-21 07:23:38 +0000 |
commit | 6d0a1d61b0bdb3956439afb985c31b65b7dcf5a5 (patch) | |
tree | aba6ed7b59179da00a565831ae4408a6ba585f40 | |
parent | 37bd09b70341e27a09dcb1cf3343b8200b923de0 (diff) |
bugfix: ipv6 testcase ping6 command wrong
JIRA: YARDSTICK-355
Change-Id: Ib05318d03aaba1c86dd386f6d375d8d2cffa11ef
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
(cherry picked from commit 880ff27e9854eff0df389a1c0468da6223ca285c)
-rw-r--r-- | yardstick/benchmark/scenarios/networking/ping6.py | 4 | ||||
-rw-r--r-- | yardstick/benchmark/scenarios/networking/ping6_benchmark.bash | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/yardstick/benchmark/scenarios/networking/ping6.py b/yardstick/benchmark/scenarios/networking/ping6.py index dc896b2c6..817f3e278 100644 --- a/yardstick/benchmark/scenarios/networking/ping6.py +++ b/yardstick/benchmark/scenarios/networking/ping6.py @@ -86,7 +86,7 @@ class Ping6(base.Scenario): # pragma: no cover options = self.scenario_cfg['options'] self.ping_options = "-s %s" % \ options.get("packetsize", '56') + \ - "-c %s" % \ + " -c %s" % \ options.get("ping_count", '5') host_str = options.get("host", 'host1') self.host_list = host_str.split(',') @@ -133,7 +133,7 @@ class Ping6(base.Scenario): # pragma: no cover options = self.scenario_cfg['options'] self.ping_options = "-s %s" % \ options.get("packetsize", '56') + \ - "-c %s" % \ + " -c %s" % \ options.get("ping_count", '5') host_str = options.get("host", 'host1') self.host_list = host_str.split(',') diff --git a/yardstick/benchmark/scenarios/networking/ping6_benchmark.bash b/yardstick/benchmark/scenarios/networking/ping6_benchmark.bash index 9a08b098a..bf730eb65 100644 --- a/yardstick/benchmark/scenarios/networking/ping6_benchmark.bash +++ b/yardstick/benchmark/scenarios/networking/ping6_benchmark.bash @@ -11,7 +11,7 @@ # Run a single ping6 command towards a ipv6 router set -e -ping6_options=$1 +ping6_options=$* source /opt/admin-openrc.sh chmod 600 vRouterKey # TODO find host |