Skip to content

Commit 2a85fcf

Browse files
committed
Remove unnecessary comments about SQL Server service state from integration tests
1 parent 415b9d2 commit 2a85fcf

11 files changed

+0
-22
lines changed

tests/Integration/Commands/Get-SqlDscManagedComputer.Integration.Tests.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ Describe 'Get-SqlDscManagedComputer' -Tag @('Integration_SQL2017', 'Integration_
3434
BeforeAll {
3535
Write-Verbose -Message ('Running integration test as user ''{0}''.' -f $env:UserName) -Verbose
3636

37-
# Note: SQL Server service is already running from Install-SqlDscServer test for performance optimization
38-
3937
$script:mockServerName = Get-ComputerName
4038
}
4139

tests/Integration/Commands/Get-SqlDscManagedComputerInstance.Integration.Tests.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ Describe 'Get-SqlDscManagedComputerInstance' -Tag @('Integration_SQL2017', 'Inte
3434
BeforeAll {
3535
Write-Verbose -Message ('Running integration test as user ''{0}''.' -f $env:UserName) -Verbose
3636

37-
# Note: SQL Server service is already running from Install-SqlDscServer test for performance optimization
38-
3937
$script:mockInstanceName = 'DSCSQLTEST'
4038
$script:mockServerName = Get-ComputerName
4139
}

tests/Integration/Commands/Get-SqlDscManagedComputerService.Integration.Tests.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ Describe 'Get-SqlDscManagedComputerService' -Tag @('Integration_SQL2017', 'Integ
3434
BeforeAll {
3535
Write-Verbose -Message ('Running integration test as user ''{0}''.' -f $env:UserName) -Verbose
3636

37-
# Note: SQL Server service is already running from Install-SqlDscServer test for performance optimization
38-
3937
$script:mockInstanceName = 'DSCSQLTEST'
4038
$script:mockServerName = Get-ComputerName
4139
}

tests/Integration/Commands/Get-SqlDscServerProtocol.Integration.Tests.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ Describe 'Get-SqlDscServerProtocol' -Tag @('Integration_SQL2017', 'Integration_S
3434
BeforeAll {
3535
Write-Verbose -Message ('Running integration test as user ''{0}''.' -f $env:UserName) -Verbose
3636

37-
# Note: SQL Server service is already running from Install-SqlDscServer test for performance optimization
38-
3937
$script:mockInstanceName = 'DSCSQLTEST'
4038
$script:mockServerName = Get-ComputerName
4139
}

tests/Integration/Commands/New-SqlDscAgentAlert.Integration.Tests.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ Describe 'New-SqlDscAgentAlert' -Tag @('Integration_SQL2017', 'Integration_SQL20
3434
# Integration tests are run on the DSCSQLTEST instance
3535
$script:sqlServerInstance = 'DSCSQLTEST'
3636

37-
# Note: SQL Server service is already running from Install-SqlDscServer test for performance optimization
38-
3937
$mockSqlAdministratorUserName = 'SqlAdmin' # Using computer name as NetBIOS name throw exception.
4038
$mockSqlAdministratorPassword = ConvertTo-SecureString -String 'P@ssw0rd1' -AsPlainText -Force
4139

tests/Integration/Commands/Remove-SqlDscAgentAlert.Integration.Tests.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ Describe 'Remove-SqlDscAgentAlert' -Tag @('Integration_SQL2017', 'Integration_SQ
3434
# Integration tests are run on the DSCSQLTEST instance
3535
$script:sqlServerInstance = 'DSCSQLTEST'
3636

37-
# Note: SQL Server service is already running from Install-SqlDscServer test for performance optimization
38-
3937
$mockSqlAdministratorUserName = 'SqlAdmin' # Using computer name as NetBIOS name throw exception.
4038
$mockSqlAdministratorPassword = ConvertTo-SecureString -String 'P@ssw0rd1' -AsPlainText -Force
4139

tests/Integration/Commands/Set-SqlDscAgentAlert.Integration.Tests.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ Describe 'Set-SqlDscAgentAlert' -Tag @('Integration_SQL2017', 'Integration_SQL20
3434
# Integration tests are run on the DSCSQLTEST instance
3535
$script:sqlServerInstance = 'DSCSQLTEST'
3636

37-
# Note: SQL Server service is already running from Install-SqlDscServer test for performance optimization
38-
3937
$mockSqlAdministratorUserName = 'SqlAdmin' # Using computer name as NetBIOS name throw exception.
4038
$mockSqlAdministratorPassword = ConvertTo-SecureString -String 'P@ssw0rd1' -AsPlainText -Force
4139

tests/Integration/Commands/Set-SqlDscStartupParameter.Integration.Tests.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ Describe 'Set-SqlDscStartupParameter' -Tag @('Integration_SQL2017', 'Integration
3434
BeforeAll {
3535
Write-Verbose -Message ('Running integration test as user ''{0}''.' -f $env:UserName) -Verbose
3636

37-
# Note: SQL Server service is already running from Install-SqlDscServer test for performance optimization
38-
3937
$script:mockInstanceName = 'DSCSQLTEST'
4038
$script:mockServerName = Get-ComputerName
4139

tests/Integration/Commands/Test-SqlDscAgentAlertProperty.Integration.Tests.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ Describe 'Test-SqlDscAgentAlertProperty' -Tag @('Integration_SQL2017', 'Integrat
3434
# Integration tests are run on the DSCSQLTEST instance
3535
$script:sqlServerInstance = 'DSCSQLTEST'
3636

37-
# Note: SQL Server service is already running from Install-SqlDscServer test for performance optimization
38-
3937
$mockSqlAdministratorUserName = 'SqlAdmin' # Using computer name as NetBIOS name throw exception.
4038
$mockSqlAdministratorPassword = ConvertTo-SecureString -String 'P@ssw0rd1' -AsPlainText -Force
4139

tests/Integration/Commands/Test-SqlDscIsAgentAlert.Integration.Tests.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ Describe 'Test-SqlDscIsAgentAlert' -Tag @('Integration_SQL2017', 'Integration_SQ
3434
# Integration tests are run on the DSCSQLTEST instance
3535
$script:sqlServerInstance = 'DSCSQLTEST'
3636

37-
# Note: SQL Server service is already running from Install-SqlDscServer test for performance optimization
38-
3937
$mockSqlAdministratorUserName = 'SqlAdmin' # Using computer name as NetBIOS name throw exception.
4038
$mockSqlAdministratorPassword = ConvertTo-SecureString -String 'P@ssw0rd1' -AsPlainText -Force
4139

0 commit comments

Comments
 (0)