From 80e4cf63608d6626014e42b75663c32700d471a2 Mon Sep 17 00:00:00 2001 From: Marko Bozikovic Date: Wed, 17 Apr 2019 09:35:22 +0200 Subject: [PATCH] [#864] SSRS 2017 integration test will now start SSRS before starting tests. --- Tests/Integration/MSFT_SqlRS.config.ps1 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Tests/Integration/MSFT_SqlRS.config.ps1 b/Tests/Integration/MSFT_SqlRS.config.ps1 index 894f77884..afe70d3cf 100644 --- a/Tests/Integration/MSFT_SqlRS.config.ps1 +++ b/Tests/Integration/MSFT_SqlRS.config.ps1 @@ -103,7 +103,6 @@ Configuration MSFT_SqlRS_CreateDependencies_Config Ensure = 'Present' } - # MSFT_SqlRSSetup.Integration.Tests.ps1 will have installed SSRS 2017. if($script:sqlVersion -eq '130') { SqlSetup 'InstallReportingServicesInstance' @@ -133,6 +132,16 @@ Configuration MSFT_SqlRS_CreateDependencies_Config $Node.RunAs_UserName, (ConvertTo-SecureString -String $Node.RunAs_Password -AsPlainText -Force)) } } + # MSFT_SqlRSSetup.Integration.Tests.ps1 will have installed SSRS 2017. + # We just need to start SSRS. + elseif($script:sqlVersion -eq '140') + { + Service 'StartReportingServicesInstance' + { + Name = 'SQLServerReportingServices' + State = 'Running' + } + } } }