Comment 2 for bug 1497238

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/225111
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=2efe1aaf602ea39264d64c6476cd338bdb0e0db2
Submitter: Jenkins
Branch: master

commit 2efe1aaf602ea39264d64c6476cd338bdb0e0db2
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/\
    1c6302854f54b67295d9f429ed092ca9766c363c/\
    ceilometer/api/controllers/v2/root.py#L112

    Change-Id: I3e141074744db43d4cd65957f6edbe2b825c0a97
    Closes-Bug: #1497238