Fix tests running in Azure DevOps (#8220)

This commit is contained in:
Paul Higinbotham authored and Aditya Patwardhan committed 2018-11-09 15:11:02 -08:00
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
}