mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
add additional checks for test that passes inconsistently (#7051)
This commit is contained in:
committed by
Aditya Patwardhan
parent
e177fcaef6
commit
c2bbc2291a
@@ -60,6 +60,9 @@ Describe "Job Cmdlet Tests" -Tag "CI" {
|
||||
}
|
||||
It "Stop-Job will stop a job" {
|
||||
Stop-Job -Id $j.Id
|
||||
$out = Receive-Job $j -ErrorVariable err
|
||||
$out | Should -BeNullOrEmpty
|
||||
$err | Should -BeNullOrEmpty
|
||||
$j.State | Should -BeExactly "Stopped"
|
||||
}
|
||||
It "Remove-Job will not remove a running job" {
|
||||
|
||||
Reference in New Issue
Block a user