@@ -33,7 +33,7 @@ def ensure_sql_features(features, ensure_val = 'present')
33
33
end
34
34
35
35
context 'can install' do
36
- features = [ 'BC' , 'Conn' , 'SDK' , 'IS' , 'MDS' ]
36
+ features = [ 'BC' , 'Conn' , 'SDK' , 'IS' , 'MDS' , 'DQC' ]
37
37
38
38
before ( :all ) do
39
39
remove_sql_features ( host , { :features => features , :version => sql_version } )
@@ -58,7 +58,7 @@ def ensure_sql_features(features, ensure_val = 'present')
58
58
59
59
context 'can remove' do
60
60
61
- features = [ 'BC' , 'Conn' , 'SDK' , 'IS' , 'MDS' ]
61
+ features = [ 'BC' , 'Conn' , 'SDK' , 'IS' , 'MDS' , 'DQC' ]
62
62
63
63
before ( :all ) do
64
64
ensure_sql_features ( features )
@@ -85,11 +85,11 @@ def ensure_sql_features(features, ensure_val = 'present')
85
85
86
86
context 'can remove independent feature' do
87
87
if sql_version == '2016'
88
- all_possible_features = [ 'BC' , 'Conn' , 'SDK' , 'IS' , 'MDS' ]
89
- features = [ 'BC' , 'Conn' , 'SDK' , 'IS' , 'MDS' ]
88
+ all_possible_features = [ 'BC' , 'Conn' , 'SDK' , 'IS' , 'MDS' , 'DQC' ]
89
+ features = [ 'BC' , 'Conn' , 'SDK' , 'IS' , 'MDS' , 'DQC' ]
90
90
else
91
- all_possible_features = [ 'BC' , 'Conn' , 'SSMS' , 'ADV_SSMS' , 'SDK' , 'IS' , 'MDS' ]
92
- features = [ 'BC' , 'Conn' , 'SSMS' , 'ADV_SSMS' , 'SDK' , 'IS' , 'MDS' ]
91
+ all_possible_features = [ 'BC' , 'Conn' , 'SSMS' , 'ADV_SSMS' , 'SDK' , 'IS' , 'MDS' , 'DQC' ]
92
+ features = [ 'BC' , 'Conn' , 'SSMS' , 'ADV_SSMS' , 'SDK' , 'IS' , 'MDS' , 'DQC' ]
93
93
end
94
94
95
95
before ( :all ) do
@@ -156,6 +156,14 @@ def ensure_sql_features(features, ensure_val = 'present')
156
156
expect ( r . stdout ) . not_to match ( /Master Data Services/ )
157
157
end
158
158
end
159
+
160
+ it "'DQC'" , :tier_low => true do
161
+ ensure_sql_features ( features - [ 'DQC' ] )
162
+
163
+ validate_sql_install ( host , { :version => sql_version } ) do |r |
164
+ expect ( r . stdout ) . not_to match ( /Data Quality Client/ )
165
+ end
166
+ end
159
167
end
160
168
161
169
context 'with negative test cases' do
@@ -200,7 +208,7 @@ def bind_and_apply_failing_manifest(features, ensure_val = 'present')
200
208
201
209
context 'can install' do
202
210
203
- features = [ 'BC' , 'Conn' , 'SDK' , 'IS' , 'MDS' ]
211
+ features = [ 'BC' , 'Conn' , 'SDK' , 'IS' , 'MDS' , 'DQC' ]
204
212
205
213
before ( :all ) do
206
214
puppet_version = ( on host , puppet ( '--version' ) ) . stdout . chomp
0 commit comments