Fix assertion of heartbeat_in_pthread parameter

Its default in puppet-oslo has been changed by [1].

[1] 06a9b12199ed03842bb935749dedf4fc8e20d043

Change-Id: I728960faae5e2ef8f233bb021bf7447ef0322ae6
This commit is contained in:
Takashi Kajinami 2025-02-20 09:49:49 +09:00
parent a960392703
commit 86a6592f34

View File

@ -29,10 +29,13 @@ describe 'heat' do
end
context 'with rabbit heartbeat configured' do
before { params.merge!(
:rabbit_heartbeat_timeout_threshold => '60',
:rabbit_heartbeat_rate => '10',
:rabbit_heartbeat_in_pthread => true ) }
before do
params.merge!(
:rabbit_heartbeat_timeout_threshold => '60',
:rabbit_heartbeat_rate => '10',
:rabbit_heartbeat_in_pthread => true
)
end
it_configures 'a heat base installation'
it_configures 'rabbit with heartbeat configured'
end
@ -137,7 +140,7 @@ describe 'heat' do
:kombu_compression => '<SERVICE DEFAULT>',
:heartbeat_timeout_threshold => '<SERVICE DEFAULT>',
:heartbeat_rate => '<SERVICE DEFAULT>',
:heartbeat_in_pthread => '<SERVICE DEFAULT>',
:heartbeat_in_pthread => nil,
:rabbit_qos_prefetch_count => '<SERVICE DEFAULT>',
:rabbit_use_ssl => '<SERVICE DEFAULT>',
:amqp_durable_queues => '<SERVICE DEFAULT>',
@ -169,7 +172,7 @@ describe 'heat' do
:kombu_compression => '<SERVICE DEFAULT>',
:heartbeat_timeout_threshold => '<SERVICE DEFAULT>',
:heartbeat_rate => '<SERVICE DEFAULT>',
:heartbeat_in_pthread => '<SERVICE DEFAULT>',
:heartbeat_in_pthread => nil,
:rabbit_qos_prefetch_count => '<SERVICE DEFAULT>',
:rabbit_use_ssl => '<SERVICE DEFAULT>',
:amqp_durable_queues => true,