Override dispatcher option for test_alarm_redirect_keystone
test_alarm_redirect_keystone tests alarm requests are redirected
properly, but dispatcher option is not overrided, so in devstack
environment, the code execute route can ask Keystone for metric
service, which will cause test fail.
This patch overrides the dispatcher option with default value to
make sure the test code running under expected configuration, which
is useful especially when devstack is running in the same environment
for developers.
Reviewed: https:/ /review. openstack. org/225111 /git.openstack. org/cgit/ openstack/ ceilometer/ commit/ ?id=2efe1aaf602 ea39264d64c6476 cd338bdb0e0db2
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2efe1aaf602ea39 264d64c6476cd33 8bdb0e0db2
Author: ZhiQiang Fan <email address hidden>
Date: Fri Sep 18 04:23:17 2015 -0700
Override dispatcher option for test_alarm_ redirect_ keystone
test_ alarm_redirect_ keystone tests alarm requests are redirected
properly, but dispatcher option is not overrided, so in devstack
environment, the code execute route can ask Keystone for metric
service, which will cause test fail.
This patch overrides the dispatcher option with default value to
make sure the test code running under expected configuration, which
is useful especially when devstack is running in the same environment
for developers.
ref: https:/ /github. com/openstack/ ceilometer/ blob/\ 4b67295d9f429ed 092ca9766c363c/ \ api/controllers /v2/root. py#L112
1c6302854f5
ceilometer/
Change-Id: I3e141074744db4 3d4cd65957f6edb e2b825c0a97
Closes-Bug: #1497238