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: Ie9239423fefbe53244ac47bc5534684792af2be2
This commit is contained in:
Takashi Kajinami 2020-04-15 00:00:04 +09:00
parent caf3cc70d5
commit a780d52ac9
1 changed files with 1 additions and 1 deletions

View File

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