[Windows] Update MongoDB to 7.0 on windows-2022 (#13125)

This commit is contained in:
Alexey-Ayupov
2025-10-02 12:35:19 +02:00
committed by GitHub
parent 4fb55a7372
commit 8b17fc0f05
5 changed files with 17 additions and 27 deletions

View File

@@ -1,11 +1,7 @@
Describe "MongoDB" {
Context "Version" {
It "<ToolName>" -TestCases @(
if (Test-IsWin25) {
@{ ToolName = "mongos" }
} else {
@{ ToolName = "mongo" }
}
@{ ToolName = "mongos" }
@{ ToolName = "mongod" }
) {
$toolsetVersion = (Get-ToolsetContent).mongodb.version
@@ -30,7 +26,7 @@ Describe "MongoDB" {
}
}
Context "Shell" -Skip:(-not (Test-IsWin25)) {
Context "Shell" {
It "mongosh" {
"mongosh --version" | Should -ReturnZeroExitCode
}