Skip to content

Commit

Permalink
[dsccommunity#864] SSRS 2017 integration test will now start SSRS bef…
Browse files Browse the repository at this point in the history
…ore starting tests.
  • Loading branch information
bozho committed May 6, 2019
1 parent a25c231 commit 80e4cf6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Tests/Integration/MSFT_SqlRS.config.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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'
}
}
}
}

Expand Down

0 comments on commit 80e4cf6

Please sign in to comment.