summaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark/scenarios/networking/ping.py
diff options
context:
space:
mode:
authorJo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>2015-06-18 12:10:02 +0200
committerJo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>2015-06-18 12:10:02 +0200
commitc4bba6061240627e023cd43b8ddcd5ebd7b76588 (patch)
tree1d9106de242b2049823a00102b5976ace4d74d02 /yardstick/benchmark/scenarios/networking/ping.py
parentfa7bf41e69214d73b756b68fb58ec57dc6e208be (diff)
Fix order of arguments in ping.py
The bash script expects 'destination' followed by 'option' Change-Id: If1c42f867caaa05c794cc81acc34fdce1774eb7c Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
Diffstat (limited to 'yardstick/benchmark/scenarios/networking/ping.py')
-rw-r--r--yardstick/benchmark/scenarios/networking/ping.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/benchmark/scenarios/networking/ping.py b/yardstick/benchmark/scenarios/networking/ping.py
index 1b87c7460..ddf6864dc 100644
--- a/yardstick/benchmark/scenarios/networking/ping.py
+++ b/yardstick/benchmark/scenarios/networking/ping.py
@@ -50,7 +50,7 @@ class Ping(base.Scenario):
LOG.debug("ping '%s' '%s'", options, destination)
exit_status, stdout, stderr = self.connection.execute(
- "/bin/sh -s {0} {1}".format(options, destination),
+ "/bin/sh -s {0} {1}".format(destination, options),
stdin=open(self.target_script, "r"))
if exit_status != 0: