aboutsummaryrefslogtreecommitdiffstats
path: root/tests/data
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-02-09 10:12:39 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-02-15 06:54:40 +0800
commit0f3ad6f2db26fb91190e47c89f77fb59b7601b84 (patch)
tree8b855519dfb53d0abdd96a6eb93f3463df35817b /tests/data
parent6add7fcac82f9b807e71fe84d16c673682d82327 (diff)
Refactoring collector initialization in plan loader
- move ClassProps to module - collectors should be array in plan definition Change-Id: I37d85dbc977c91aa1bb81de45b5e1c41660e6d1f Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/benchmarks/plan/doctor.yaml4
-rw-r--r--tests/data/benchmarks/plan/fake-plan.yaml2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/data/benchmarks/plan/doctor.yaml b/tests/data/benchmarks/plan/doctor.yaml
index 6c95077b..f884c606 100644
--- a/tests/data/benchmarks/plan/doctor.yaml
+++ b/tests/data/benchmarks/plan/doctor.yaml
@@ -5,8 +5,8 @@ info:
engineer: local
config:
driver: sample
- collector:
- - name: logfile
+ collectors:
+ - type: logfile
logs:
- filename: doctor_consumer.log
# 2016-12-28 03:16:05,630 consumer.py 26 INFO doctor consumer notified at 1482894965.63
diff --git a/tests/data/benchmarks/plan/fake-plan.yaml b/tests/data/benchmarks/plan/fake-plan.yaml
index 8887f66d..511affd6 100644
--- a/tests/data/benchmarks/plan/fake-plan.yaml
+++ b/tests/data/benchmarks/plan/fake-plan.yaml
@@ -4,7 +4,7 @@ config:
facility: local
engineer: local
driver: sample
- collector: logfile
+ collectors: []
reporter: console
QPIs:
- fake-qpi.yaml