File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed
tests/Integration/Resources Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -210,6 +210,14 @@ Describe "$($script:dscResourceName)_Integration" -Tag @('Integration_SQL2017',
210210
211211 $resourceCurrentState.ProductVersion | Should - BeGreaterThan ([System.Version ] ' 16.0.0.0' )
212212 }
213+
214+ if (Test-ContinuousIntegrationTaskCategory - Category ' Integration_PowerBI' )
215+ {
216+ # # Uncomment this line to see the registry key values.
217+ # Write-Verbose -Message ((reg query "HKLM\SOFTWARE\Microsoft\Microsoft SQL Server" /s) | Out-String) -Verbose
218+
219+ $resourceCurrentState.ProductVersion | Should - BeGreaterThan ([System.Version ] ' 15.0.0.0' )
220+ }
213221 }
214222
215223 It ' Should return $true when Test-DscConfiguration is run' {
Original file line number Diff line number Diff line change @@ -103,9 +103,18 @@ Configuration DSC_SqlRSSetup_StopReportingServicesInstance_Config
103103{
104104 Import-DscResource - ModuleName ' xPSDesiredStateConfiguration' - ModuleVersion ' 9.1.0'
105105
106+ $serviceConfigName = if (Test-ContinuousIntegrationTaskCategory - Category ' Integration_PowerBI' )
107+ {
108+ ' StopPowerBIReportServerInstance'
109+ }
110+ else
111+ {
112+ ' StopReportingServicesInstance'
113+ }
114+
106115 node $AllNodes.NodeName
107116 {
108- xService ' StopReportingServicesInstance '
117+ xService $serviceConfigName
109118 {
110119 Name = if (Test-ContinuousIntegrationTaskCategory - Category ' Integration_PowerBI' )
111120 {
You can’t perform that action at this time.
0 commit comments