ci/telemetry: Decrease test_telemetry_integration time
To decrease the time test_telemetry_integration takes, we do the
following:
* Enable ManagePolling so ceilometer agents will poll every
ceilometer::agent::polling::polling_interval interval (already set to
15)
* We change the publishers list to set an archive policy to use for
Gnocchi. We use high so one 1 points will be keep every 60s.
Note that the tempest telemetry.alarm_granularity configuration must be
kept in sync with the archive policy. This is done here:
I62c47723d68bb1cef9733df2f737c3ab3f5aa8fb
The test should takes 2 minutes instead of 10 after this change.
Change-Id: Ie00d3487d54f4d1226f6a8a210975eabdcd8a96c
Depends-On: Ie8703337f98ccd53db2724c21861d7ba06243d16
(cherry picked from commit bf819a0cdb
)
This commit is contained in:
parent
8d778078bd
commit
d4e13a0686
|
@ -104,8 +104,14 @@ parameter_defaults:
|
|||
ControllerExtraConfig:
|
||||
nova::compute::libvirt::services::libvirt_virt_type: qemu
|
||||
nova::compute::libvirt::libvirt_virt_type: qemu
|
||||
# This makes the job twice as fast
|
||||
# NOTE(sileht): To decrease the time test_telemetry_integration takes We
|
||||
# configure Ceilometer to poll more, We configure the 'high' Gnocchi
|
||||
# archive policy to keep 1 point every 60s. The test will take 2 minutes
|
||||
# instead of 10 minutes. Note that tempest telemetry.alarm_granularity must
|
||||
# in sync with the archive policy, 60s too.
|
||||
ceilometer::agent::polling::polling_interval: 15
|
||||
ManagePolling: true
|
||||
|
||||
Debug: true
|
||||
CephAnsibleDisksConfig:
|
||||
devices:
|
||||
|
|
|
@ -88,6 +88,14 @@ parameter_defaults:
|
|||
ControllerExtraConfig:
|
||||
nova::compute::libvirt::services::libvirt_virt_type: qemu
|
||||
nova::compute::libvirt::libvirt_virt_type: qemu
|
||||
# NOTE(sileht): To decrease the time test_telemetry_integration takes We
|
||||
# configure Ceilometer to poll more, We configure the 'high' Gnocchi
|
||||
# archive policy to keep 1 point every 60s. The test will take 2 minutes
|
||||
# instead of 10 minutes. Note that tempest telemetry.alarm_granularity must
|
||||
# in sync with the archive policy, 60s too.
|
||||
ceilometer::agent::polling::polling_interval: 15
|
||||
ManagePolling: true
|
||||
GnocchiArchivePolicy: 'high'
|
||||
Debug: true
|
||||
ZaqarMessageStore: 'swift'
|
||||
ZaqarManagementStore: 'sqlalchemy'
|
||||
|
|
Loading…
Reference in New Issue