mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
[Windows] Rename the Invoke-SBWithRetry function (#8880)
This commit is contained in:
committed by
GitHub
parent
d2cbbb901b
commit
c73276d3f6
@@ -141,7 +141,13 @@ Describe "Sbt" {
|
||||
|
||||
Describe "ServiceFabricSDK" {
|
||||
It "PowerShell Module" {
|
||||
Get-Module -Name ServiceFabric -ListAvailable | Should -Not -BeNullOrEmpty
|
||||
# Ignore PowerShell version check if running in PowerShell Core
|
||||
# https://github.com/microsoft/service-fabric/issues/1343
|
||||
if ($PSVersionTable.PSEdition -eq 'Core') {
|
||||
Get-Module -Name ServiceFabric -SkipEditionCheck -ListAvailable | Should -Not -BeNullOrEmpty
|
||||
} else {
|
||||
Get-Module -Name ServiceFabric -ListAvailable | Should -Not -BeNullOrEmpty
|
||||
}
|
||||
}
|
||||
|
||||
It "ServiceFabricSDK version" {
|
||||
|
||||
Reference in New Issue
Block a user