Skip to content

Commit

Permalink
Flaky test?
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Hunt committed Feb 26, 2024
1 parent afe00a9 commit 404b457
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/httpunitps.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ Describe 'Invoke-HttpUnit' {
$result[0].GotRegex | Should -Be $False
$result[0].GotHeaders | Should -Be $False
$result[0].InvalidCert | Should -Be $False
$result[0].TimeTotal | Should -BeGreaterThan ([timespan]::new(1))
$result[0].TimeTotal.Milliseconds | Should -BeGreaterThan 1

$result[1].Label | Should -Match "https://example.com/"
$result[1].Result | Should -BeNullOrEmpty
Expand All @@ -188,7 +188,7 @@ Describe 'Invoke-HttpUnit' {
$result[1].GotRegex | Should -Be $False
$result[1].GotHeaders | Should -Be $False
$result[1].InvalidCert | Should -Be $False
$result[1].TimeTotal | Should -BeGreaterThan ([timespan]::new(1))
$result[1].TimeTotal.Milliseconds | Should -BeGreaterThan 1
}
}
}
Expand Down

0 comments on commit 404b457

Please sign in to comment.