
coordination_url[1] and metric_processing_delay[2] under storage section are both deprecated, so deprecate parameters under gnocchi::storage and migrate these parameters to appropriate classes, gnocchi and gnocchi::metricd . [1]70b9ca427b
[2]72fdba704d
Change-Id: I88dff282df4ce477e543dd2fcf5052a9ac472b84
31 lines
624 B
Ruby
31 lines
624 B
Ruby
require 'spec_helper'
|
|
|
|
describe 'gnocchi::storage' do
|
|
|
|
shared_examples_for 'gnocchi-storage' do
|
|
# Nothong to test
|
|
end
|
|
|
|
on_supported_os({
|
|
:supported_os => OSDefaults.get_supported_os
|
|
}).each do |os,facts|
|
|
context "on #{os}" do
|
|
let (:facts) do
|
|
facts.merge!(OSDefaults.get_facts())
|
|
end
|
|
|
|
let(:platform_params) do
|
|
case facts[:osfamily]
|
|
when 'Debian'
|
|
{ :redis_package_name => 'python3-redis' }
|
|
when 'RedHat'
|
|
{ :redis_package_name => 'python-redis' }
|
|
end
|
|
end
|
|
|
|
it_behaves_like 'gnocchi-storage'
|
|
end
|
|
end
|
|
|
|
end
|