Removed unused tests for deprecated RDBMS flavor

Implements: blueprint modern-chef

Change-Id: I6314c58d53c1d9a536191f62bde9cd820ddbfdad
This commit is contained in:
Samuel Cassiba 2018-01-30 06:46:13 -08:00
parent 2bcd59a687
commit 40e115b66b
2 changed files with 0 additions and 18 deletions

View File

@ -15,14 +15,5 @@ describe 'openstack-orchestration::common' do
include_examples 'expect installs common heat package'
include_examples 'expect installs mysql package'
include_examples 'expect runs db migrations'
it 'installs postgresql python packages if explicitly told' do
node.set['openstack']['db']['orchestration']['service_type'] = 'postgresql'
expect(chef_run).to upgrade_package 'python-psycopg2'
expect(chef_run).not_to upgrade_package 'MySQL-python'
expect(chef_run).not_to upgrade_package 'python-ibm-db'
expect(chef_run).not_to upgrade_package 'python-ibm-db-sa'
end
end
end

View File

@ -21,14 +21,5 @@ describe 'openstack-orchestration::common' do
it 'installs mysql python packages by default' do
expect(chef_run).to upgrade_package 'python-mysqldb'
end
it 'installs postgresql python packages if explicitly told' do
node.set['openstack']['db']['orchestration']['service_type'] = 'postgresql'
expect(chef_run).to upgrade_package 'python-psycopg2'
expect(chef_run).not_to upgrade_package 'MySQL-python'
expect(chef_run).not_to upgrade_package 'python-ibm-db'
expect(chef_run).not_to upgrade_package 'python-ibm-db-sa'
end
end
end