Account for compute.metrics.update in legacy notification whitelist
The compute.metrics.update legacy unversioned notification was missing
from the whitelist because the only test for it was mocking out the
rpc notifier call, which is what validates the entries in the whitelist.
This adds the entry to the whitelist and fixes the test to actually
use the notifier code.
Reviewed: https:/ /review. openstack. org/504978 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=963bf956ce9 3ba02bf9f38f979 fe914d090b76d4
Committed: https:/
Submitter: Jenkins
Branch: master
commit 963bf956ce93ba0 2bf9f38f979fe91 4d090b76d4
Author: Matt Riedemann <email address hidden>
Date: Mon Sep 18 15:30:18 2017 -0400
Account for compute. metrics. update in legacy notification whitelist
The compute. metrics. update legacy unversioned notification was missing
from the whitelist because the only test for it was mocking out the
rpc notifier call, which is what validates the entries in the whitelist.
This adds the entry to the whitelist and fixes the test to actually
use the notifier code.
Change-Id: Ie278ca58c371b8 e3bd4861e6c86eb cf30c6778ea
Closes-Bug: #1717943