Skip to content

Commit

Permalink
not tags Add Pester V5 Instance Level Checks #882
Browse files Browse the repository at this point in the history
  • Loading branch information
SQLDBAWithABeard committed Aug 26, 2023
1 parent 7ec8934 commit 03f9d8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/checks/Instancev5.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ Describe "SQL and Windows names match" -Tag ServerNameMatch, Medium, Instance -F
}
}

Describe "SQL Engine Service" -Tags SqlEngineServiceAccount, ServiceAccount, High, Instance -ForEach $InstancesToTest {
Describe "SQL Engine Service" -Tag SqlEngineServiceAccount, ServiceAccount, High, Instance -ForEach $InstancesToTest {
$skip = ($__dbcconfig | Where-Object { $_.Name -eq 'skip.instance.sqlengineserviceaccount' }).Value
Context "Testing SQL Engine Service on <_.Name>" -Skip:$skip {
It "SQL Engine service account should be <_.State> on <_.InstanceName>" -ForEach $PsItem.SqlEngineServiceAccount {
Expand Down

0 comments on commit 03f9d8d

Please sign in to comment.