Merge "Fix unit tests incompatible with puppetlab-stdlib 8.0.0"

This commit is contained in:
Zuul 2021-09-23 18:08:32 +00:00 committed by Gerrit Code Review
commit aab7e10ff3
2 changed files with 7 additions and 7 deletions

View File

@ -85,7 +85,7 @@ describe 'oslo::cache' do
it 'configures cache backend' do
is_expected.to contain_keystone_config('cache/backend').with_value('dogpile.cache.pylibmc')
is_expected.to contain_package('python-pylibmc').with(
:ensure => 'present',
:ensure => 'installed',
:name => platform_params[:pylibmc_package_name],
:tag => 'openstack',
)
@ -130,7 +130,7 @@ describe 'oslo::cache' do
it 'configures cache backend' do
is_expected.to contain_keystone_config('cache/backend').with_value('dogpile.cache.memcache')
is_expected.to contain_package('python-memcache').with(
:ensure => 'present',
:ensure => 'installed',
:name => platform_params[:python_memcache_package_name],
:tag => ['openstack'],
)
@ -175,7 +175,7 @@ describe 'oslo::cache' do
it 'configures cache backend' do
is_expected.to contain_keystone_config('cache/backend').with_value('oslo_cache.etcd3gw')
is_expected.to contain_package('python-etcd3gw').with(
:ensure => 'present',
:ensure => 'installed',
:name => platform_params[:python_etcd3gw_package_name],
:tag => ['openstack'],
)

View File

@ -22,7 +22,7 @@ describe 'oslo::coordination' do
is_expected.to contain_package('python-redis').with(
:name => platform_params[:python_redis_package_name],
:ensure => 'present',
:ensure => 'installed',
:tag => 'openstack',
)
end
@ -51,7 +51,7 @@ describe 'oslo::coordination' do
if platform_params[:python_etcd3_package_name]
is_expected.to contain_package('python-etcd3').with(
:name => platform_params[:python_etcd3_package_name],
:ensure => 'present',
:ensure => 'installed',
:tag => 'openstack',
)
else
@ -128,7 +128,7 @@ describe 'oslo::coordination' do
is_expected.to contain_package('python-pymemcache').with(
:name => platform_params[:python_pymemcache_package_name],
:ensure => 'present',
:ensure => 'installed',
:tag => 'openstack',
)
end
@ -157,7 +157,7 @@ describe 'oslo::coordination' do
is_expected.to contain_package('python-redis').with(
:name => platform_params[:python_redis_package_name],
:ensure => 'present',
:ensure => 'installed',
:tag => 'openstack',
)
end