summaryrefslogtreecommitdiff
path: root/devstack
diff options
context:
space:
mode:
authorzhurong <aaronzhu1121@gmail.com>2019-04-11 16:42:36 +0800
committerzhurong <aaronzhu1121@gmail.com>2019-04-12 00:40:43 +0000
commit21bab8171f6d2d574b277a369924e5fe3ab4700b (patch)
treeea82036ba098073dd3ac0f131f7bcd7abe761c67 /devstack
parent4f7aed72b33e541b9804d0ec23182a35fc5b03e3 (diff)
downloadceilometer-21bab8171f6d2d574b277a369924e5fe3ab4700b.tar.gz
Reduce the alarm_threshold value to make autoscaling test stable
telemetry-dsvm-integration sometimes failed due to the alarm_threshold is too high[0], we can just deduce the alarm_threshold value to make test stable. [0]http://logs.openstack.org/62/643262/3/check/telemetry-dsvm-integration/9771ecc/logs/screen-aodh-evaluator.txt.gz#_Apr_11_15_36_33_279860 Change-Id: I63af7f6c804e123395b225244111543dedc67581
Diffstat (limited to 'devstack')
-rw-r--r--devstack/plugin.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/devstack/plugin.sh b/devstack/plugin.sh
index 268f18da..4af04974 100644
--- a/devstack/plugin.sh
+++ b/devstack/plugin.sh
@@ -405,7 +405,7 @@ if is_service_enabled ceilometer; then
start_ceilometer
elif [[ "$1" == "stack" && "$2" == "test-config" ]]; then
iniset $TEMPEST_CONFIG telemetry alarm_granularity $CEILOMETER_ALARM_GRANULARITY
- iniset $TEMPEST_CONFIG telemetry alarm_threshold 10000000000
+ iniset $TEMPEST_CONFIG telemetry alarm_threshold 10000000
iniset $TEMPEST_CONFIG telemetry alarm_metric_name cpu
iniset $TEMPEST_CONFIG telemetry alarm_aggregation_method rate:mean
fi