mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[Windows] Add Windows 2025 code (#11037)
This commit is contained in:
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user