mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Fix tests running in Azure DevOps (#8220)
This commit is contained in:
1 parent
9894be9c60
commit
d4bf5c87bc
14 files changed
+260
-116
No files matched your search
@@ -277,7 +277,7 @@ Describe "Remoting loopback tests" -Tags @('CI', 'RequireAdminOnWindows') {
|
||||
}
|
||||
|
||||
It 'Can invoke-command as job' {
|
||||
$result = Invoke-Command -ScriptBlock { 1 + 1 } -Session $openSession -AsJob | Receive-Job -AutoRemoveJob -Wait
|
||||
$result = Invoke-Command -ScriptBlock { 1 + 1 } -Session $openSession -AsJob | Receive-Job -AutoRemoveJob -Wait -ErrorAction SilentlyContinue
|
||||
$result | Should -Be 2
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user