Browse Source

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
changes/02/720002/1
Takashi Kajinami 2 years ago
parent
commit
f07abdbffc
  1. 2
      spec/classes/aodh_init_spec.rb

2
spec/classes/aodh_init_spec.rb

@ -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

Loading…
Cancel
Save