Update sla check for scenarios
[yardstick.git] / yardstick / benchmark / runners / arithmetic.py
index 3f5b640..68c8bfd 100755 (executable)
@@ -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":