diff options
Diffstat (limited to 'yardstick/benchmark/runners')
-rwxr-xr-x | yardstick/benchmark/runners/arithmetic.py | 2 | ||||
-rw-r--r-- | yardstick/benchmark/runners/duration.py | 2 | ||||
-rwxr-xr-x | yardstick/benchmark/runners/iteration.py | 2 | ||||
-rw-r--r-- | yardstick/benchmark/runners/sequence.py | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/yardstick/benchmark/runners/arithmetic.py b/yardstick/benchmark/runners/arithmetic.py index 3f5b640d9..68c8bfdef 100755 --- a/yardstick/benchmark/runners/arithmetic.py +++ b/yardstick/benchmark/runners/arithmetic.py @@ -63,7 +63,7 @@ def _worker_process(queue, cls, method_name, scenario_cfg): errors = "" try: - data = method(scenario_cfg) + method(scenario_cfg, data) except AssertionError as assertion: # SLA validation failed in scenario, determine what to do now if sla_action == "assert": diff --git a/yardstick/benchmark/runners/duration.py b/yardstick/benchmark/runners/duration.py index af5aae899..e4ad037af 100644 --- a/yardstick/benchmark/runners/duration.py +++ b/yardstick/benchmark/runners/duration.py @@ -54,7 +54,7 @@ def _worker_process(queue, cls, method_name, scenario_cfg): errors = "" try: - data = method(scenario_cfg) + method(scenario_cfg, data) except AssertionError as assertion: # SLA validation failed in scenario, determine what to do now if sla_action == "assert": diff --git a/yardstick/benchmark/runners/iteration.py b/yardstick/benchmark/runners/iteration.py index 3a6b2e1d6..b6d861d6c 100755 --- a/yardstick/benchmark/runners/iteration.py +++ b/yardstick/benchmark/runners/iteration.py @@ -53,7 +53,7 @@ def _worker_process(queue, cls, method_name, scenario_cfg): errors = "" try: - data = method(scenario_cfg) + method(scenario_cfg, data) except AssertionError as assertion: # SLA validation failed in scenario, determine what to do now if sla_action == "assert": diff --git a/yardstick/benchmark/runners/sequence.py b/yardstick/benchmark/runners/sequence.py index ac8fe1418..29f86e19c 100644 --- a/yardstick/benchmark/runners/sequence.py +++ b/yardstick/benchmark/runners/sequence.py @@ -63,7 +63,7 @@ def _worker_process(queue, cls, method_name, scenario_cfg): errors = "" try: - data = method(scenario_cfg) + method(scenario_cfg, data) except AssertionError as assertion: # SLA validation failed in scenario, determine what to do now if sla_action == "assert": |