From f07abdbffcf877e433ee4a02906fb35846d01d99 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 15 Apr 2020 00:09:05 +0900 Subject: [PATCH] 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 --- spec/classes/aodh_init_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/classes/aodh_init_spec.rb b/spec/classes/aodh_init_spec.rb index 0cbc3cbb..29779ba4 100644 --- a/spec/classes/aodh_init_spec.rb +++ b/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