fix mysql connection
Change-Id: I381d30601613d7376d64b14cf471e128af90f40a
This commit is contained in:
parent
0cec98ddab
commit
402d614337
@ -56,7 +56,7 @@ describe 'cinder::db' do
|
||||
|
||||
context 'with MySQL-python library as backend package' do
|
||||
let :params do
|
||||
{ :database_connection => 'mysql://cinder:cinder@localhost/cinder', }
|
||||
{ :database_connection => 'mysql+pymysql://cinder:cinder@localhost/cinder', }
|
||||
end
|
||||
|
||||
it { is_expected.to contain_package('python-mysqldb').with(:ensure => 'present') }
|
||||
|
@ -3,7 +3,7 @@ describe 'cinder' do
|
||||
let :req_params do
|
||||
{
|
||||
:rabbit_password => 'guest',
|
||||
:database_connection => 'mysql://user:password@host/database',
|
||||
:database_connection => 'mysql+pymysql://user:password@host/database',
|
||||
:lock_path => '/var/lock/cinder',
|
||||
}
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user