Fix broken unit tests because of list in notification drivers

Because the value for oslo_messaging_notifications/driver is now
a list[1], we should expect that a list is set when multiple drivers
are given.

[1] c7b0cc82fac79b47c3dd9a625cbd5a1eb192ed00

Change-Id: I74b9bdaeefee1ed3bbb836d3a45e20e5609f0a8b
This commit is contained in:
Takashi Kajinami 2020-04-15 00:09:05 +09:00
parent 013426b97e
commit f07abdbffc
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ describe 'aodh' do
before { params.merge!( :notification_driver => ['ceilometer.compute.aodh_notifier', 'aodh.openstack.common.notifier.rpc_notifier']) }
it { is_expected.to contain_aodh_config('oslo_messaging_notifications/driver').with_value(
'ceilometer.compute.aodh_notifier,aodh.openstack.common.notifier.rpc_notifier'
['ceilometer.compute.aodh_notifier', 'aodh.openstack.common.notifier.rpc_notifier']
) }
end