Change new input task format specification
We have issue with current format there are 2 things called "task", "task" is file with bunch of "task" that are run. I would prefer to split these 2 things: task - is file that is run by "rally task" command subtasks - is actually single test case described in task file Change-Id: Ib1a2f39bb91cfb5b0ba0b3d15be53d3a3241bfc7
This commit is contained in:
@@ -48,7 +48,7 @@ Make a new format that address all issues.
|
|||||||
|
|
||||||
Old format JSON schema:
|
Old format JSON schema:
|
||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: python
|
||||||
|
|
||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -85,7 +85,7 @@ Old format JSON schema:
|
|||||||
|
|
||||||
Old format sample:
|
Old format sample:
|
||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: yaml
|
||||||
|
|
||||||
---
|
---
|
||||||
<ScenarioName>:
|
<ScenarioName>:
|
||||||
@@ -111,7 +111,7 @@ Old format sample:
|
|||||||
|
|
||||||
New format JSON schema:
|
New format JSON schema:
|
||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: python
|
||||||
|
|
||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -182,7 +182,7 @@ New format JSON schema:
|
|||||||
|
|
||||||
New format sample:
|
New format sample:
|
||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: yaml
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -203,7 +203,7 @@ New format sample:
|
|||||||
# Explicit usage "rally task start --tag" --tag attribute
|
# Explicit usage "rally task start --tag" --tag attribute
|
||||||
tags: ["periodic", "nova", "cinder", "ha"]
|
tags: ["periodic", "nova", "cinder", "ha"]
|
||||||
|
|
||||||
tasks:
|
subtasks:
|
||||||
# Note every task is executed serially (one by one)
|
# Note every task is executed serially (one by one)
|
||||||
#
|
#
|
||||||
# Using list for describing what benchmarks (tasks) to run is much
|
# Using list for describing what benchmarks (tasks) to run is much
|
||||||
|
Reference in New Issue
Block a user