diff options
-rw-r--r-- | yardstick/benchmark/scenarios/networking/ping.py | 2 |
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: |