Merge "Wrongly formatted input task"
This commit is contained in:
commit
98119d774e
@ -307,7 +307,7 @@ def _process_results(results):
|
||||
"pos": int(pos),
|
||||
"name": name,
|
||||
"runner": kw["runner"]["type"],
|
||||
"config": json.dumps({scenario_name: kw}, indent=2),
|
||||
"config": json.dumps({scenario_name: [kw]}, indent=2),
|
||||
"iterations": _process_main_duration(result, data),
|
||||
"atomic": _process_atomic(result, data),
|
||||
"table_cols": table_cols,
|
||||
|
@ -99,7 +99,7 @@ class PlotTestCase(test.TestCase):
|
||||
results = sorted(results, key=lambda r: "%s%s" % (r["key"]["name"],
|
||||
r["key"]["pos"]))
|
||||
for i, r in enumerate(results):
|
||||
config = json.dumps({r["key"]["name"]: r["key"]["kw"]}, indent=2)
|
||||
config = json.dumps({r["key"]["name"]: [r["key"]["kw"]]}, indent=2)
|
||||
pos = int(r["key"]["pos"])
|
||||
cls = r["key"]["name"].split(".")[0]
|
||||
met = r["key"]["name"].split(".")[1]
|
||||
|
Loading…
x
Reference in New Issue
Block a user