From b11e8aa30d62fbfe86da3e5235606bc1bb0c5eff Mon Sep 17 00:00:00 2001 From: Illia Khudoshyn Date: Tue, 24 Nov 2015 10:42:04 +0000 Subject: [PATCH] Add Workload object The patch introduces Workload model instead of regular dict that was used to describe scenario configuration in TaskEngine. As a side effect it allows to fix subtask representaion in generated reports and other rally outputs. Change-Id: I62148707c89f575f83da11e34d0d193e716e8249 --- tests/functional/test_cli_task.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/test_cli_task.py b/tests/functional/test_cli_task.py index 3adb9200..7282a813 100644 --- a/tests/functional/test_cli_task.py +++ b/tests/functional/test_cli_task.py @@ -55,7 +55,7 @@ class TaskTestCase(unittest.TestCase): "description": "The first subtask in dummy task", "tags": ["dummy", "functional_test"], "run_in_parallel": False, - "scenarios": [{ + "workloads": [{ "name": "Dummy.dummy", "args": { "sleep": 0 @@ -79,7 +79,7 @@ class TaskTestCase(unittest.TestCase): "description": "The second subtask in dummy task", "tags": ["dummy", "functional_test"], "run_in_parallel": False, - "scenarios": [{ + "workloads": [{ "name": "Dummy.dummy", "args": { "sleep": 1