[Windows] Add Windows 2025 code (#11037)

This commit is contained in:
Alexey-Ayupov
2024-11-29 11:08:29 +01:00
committed by GitHub
parent 6c768837be
commit e3ba729b37
25 changed files with 993 additions and 80 deletions

View File

@@ -1,7 +1,11 @@
Describe "MongoDB" {
Context "Version" {
It "<ToolName>" -TestCases @(
@{ ToolName = "mongo" }
if (Test-IsWin25) {
@{ ToolName = "mongos" }
} else {
@{ ToolName = "mongo" }
}
@{ ToolName = "mongod" }
) {
$toolsetVersion = (Get-ToolsetContent).mongodb.version
@@ -25,6 +29,10 @@ Describe "MongoDB" {
$StartType | Should -Be "Disabled"
}
}
Context "Shell" -Skip:(-not (Test-IsWin19) -or -not (Test-IsWin22)) {
"mongosh --version" | Should -Not -BeNullOrEmpty
}
}
Describe "PostgreSQL" {