diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-04-26 10:14:59 +0800 |
---|---|---|
committer | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-04-26 11:00:18 +0800 |
commit | 1403c94ef114912c5eef3700e123b137b030c2c7 (patch) | |
tree | 80b42128c74d9a06b3c9907bd4e1cab0ebb7647d /tests/data/results | |
parent | 0c10841189cee0eab2dcd0a18ab946bb3ae617a0 (diff) |
Add support for result aggregation
Change-Id: I678b765f3f430cb6a5d130d94960273b8eea85e7
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'tests/data/results')
-rw-r--r-- | tests/data/results/expected.json | 7 | ||||
-rw-r--r-- | tests/data/results/host1/qpi.json | 3 | ||||
-rw-r--r-- | tests/data/results/host2/qpi.json | 3 |
3 files changed, 13 insertions, 0 deletions
diff --git a/tests/data/results/expected.json b/tests/data/results/expected.json new file mode 100644 index 00000000..a495d999 --- /dev/null +++ b/tests/data/results/expected.json @@ -0,0 +1,7 @@ +{ + "score": 150, + "host_results": [ + {"host": "host1", "result": {"score": 100}}, + {"host": "host2", "result": {"score": 200}} + ] +} diff --git a/tests/data/results/host1/qpi.json b/tests/data/results/host1/qpi.json new file mode 100644 index 00000000..ff8cbf80 --- /dev/null +++ b/tests/data/results/host1/qpi.json @@ -0,0 +1,3 @@ +{ + "score": 100 +}
\ No newline at end of file diff --git a/tests/data/results/host2/qpi.json b/tests/data/results/host2/qpi.json new file mode 100644 index 00000000..1b848ba5 --- /dev/null +++ b/tests/data/results/host2/qpi.json @@ -0,0 +1,3 @@ +{ + "score": 200 +}
\ No newline at end of file |