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: Ic40f83b6bcafdc9aa0954271eb72e8234d1d97aa
This commit is contained in:
Takashi Kajinami 2020-04-14 23:55:23 +09:00
parent 91da7cbe31
commit c8786c63ea
1 changed files with 1 additions and 1 deletions

View File

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