Skip to content

Commit

Permalink
SqlRS: Disable integration tests that causes tests to fail (issue #2009
Browse files Browse the repository at this point in the history
…) (#2008)
  • Loading branch information
johlju authored May 5, 2024
1 parent 026647c commit 3ef838b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
12 changes: 7 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- SqlServer
- SqlServerDsc
- Updated pipeline files to support pre-releases with ModuleFast (when
resolving dependencies).
- SqlAG
- Converted unit test to Pester 5
- DtcSupportEnabled option in Set-TargetResource and TestTargetResource
- SqlServerDsc
- Bump PSResourceGet to v1.0.0 (used when resolving dependencies).
- Update markdown highlights with newly supported keywords.
- Bump GitHub Action _Stale_ to v9.
Expand All @@ -54,8 +50,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
To run the meta task `docs` the SMO assemblies must be loaded into the
session, either by importing SqlServer module or loading SMO stubs.
- QA test improved to speed up quality testing.
- SqlAG
- Converted unit test to Pester 5
- DtcSupportEnabled option in Set-TargetResource and TestTargetResource
- SqlSetup
- Updated integration tests to use PSResourceGet to download required modules.
- SqlRS
- Integration tests for SQL Server 2022 has been temporarily disabled due
to a unknown problem. More information in [issue #2009](https://github.com/dsccommunity/SqlServerDsc/issues/2009).

## [16.5.0] - 2023-10-05

Expand Down
3 changes: 2 additions & 1 deletion tests/Integration/DSC_SqlRS.Integration.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ AfterAll {
Get-Module -Name 'CommonTestHelper' -All | Remove-Module -Force
}

Describe "$($script:dscResourceName)_Integration" -Tag @('Integration_SQL2016', 'Integration_SQL2017', 'Integration_SQL2019', 'Integration_SQL2022') {
# TODO: SQL Server 2022 has been disabled due to unknown issue with the resource SqlRS. See issue #2009.
Describe "$($script:dscResourceName)_Integration" -Tag @('Integration_SQL2016', 'Integration_SQL2017', 'Integration_SQL2019'<#, 'Integration_SQL2022'#>) {
BeforeAll {
$resourceId = "[$($script:dscResourceFriendlyName)]Integration_Test"
}
Expand Down
3 changes: 2 additions & 1 deletion tests/Integration/DSC_SqlRS_Default.Integration.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ AfterAll {
Get-Module -Name 'CommonTestHelper' -All | Remove-Module -Force
}

Describe "$($script:dscResourceName)_Integration" -Tag @('Integration_SQL2016', 'Integration_SQL2017', 'Integration_SQL2019', 'Integration_SQL2022') {
# TODO: SQL Server 2022 has been disabled due to unknown issue with the resource SqlRS. See issue #2009.
Describe "$($script:dscResourceName)_Integration" -Tag @('Integration_SQL2016', 'Integration_SQL2017', 'Integration_SQL2019'<#, 'Integration_SQL2022'#>) {
BeforeAll {
$resourceId = "[$($script:dscResourceFriendlyName)]Integration_Test"
}
Expand Down

0 comments on commit 3ef838b

Please sign in to comment.