Browse Source

Removed unused tests for deprecated RDBMS flavor

Implements: blueprint modern-chef

Change-Id: I6314c58d53c1d9a536191f62bde9cd820ddbfdad
Samuel Cassiba 1 year ago
parent
commit
40e115b66b
2 changed files with 0 additions and 18 deletions
  1. 0
    9
      spec/common-redhat_spec.rb
  2. 0
    9
      spec/common_spec.rb

+ 0
- 9
spec/common-redhat_spec.rb View File

@@ -15,14 +15,5 @@ describe 'openstack-orchestration::common' do
15 15
     include_examples 'expect installs common heat package'
16 16
     include_examples 'expect installs mysql package'
17 17
     include_examples 'expect runs db migrations'
18
-
19
-    it 'installs postgresql python packages if explicitly told' do
20
-      node.set['openstack']['db']['orchestration']['service_type'] = 'postgresql'
21
-
22
-      expect(chef_run).to upgrade_package 'python-psycopg2'
23
-      expect(chef_run).not_to upgrade_package 'MySQL-python'
24
-      expect(chef_run).not_to upgrade_package 'python-ibm-db'
25
-      expect(chef_run).not_to upgrade_package 'python-ibm-db-sa'
26
-    end
27 18
   end
28 19
 end

+ 0
- 9
spec/common_spec.rb View File

@@ -21,14 +21,5 @@ describe 'openstack-orchestration::common' do
21 21
     it 'installs mysql python packages by default' do
22 22
       expect(chef_run).to upgrade_package 'python-mysqldb'
23 23
     end
24
-
25
-    it 'installs postgresql python packages if explicitly told' do
26
-      node.set['openstack']['db']['orchestration']['service_type'] = 'postgresql'
27
-
28
-      expect(chef_run).to upgrade_package 'python-psycopg2'
29
-      expect(chef_run).not_to upgrade_package 'MySQL-python'
30
-      expect(chef_run).not_to upgrade_package 'python-ibm-db'
31
-      expect(chef_run).not_to upgrade_package 'python-ibm-db-sa'
32
-    end
33 24
   end
34 25
 end

Loading…
Cancel
Save