mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
[Windows] Update MongoDB to 7.0 on windows-2022 (#13125)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user