Skip to content

Commit

Permalink
Allow error 504 (Gateway Timeout) in markdown-link tests (PowerShell#…
Browse files Browse the repository at this point in the history
  • Loading branch information
xtqqczze authored and daxian-dbw committed Jan 6, 2020
1 parent 1376d31 commit 88711d4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/common/markdown/markdown-link.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,10 @@ Describe "Verify Markdown Links" {

# there could be multiple reasons why a failure is ok
# check against the allowed failures
# 503 = service temporarily unavailable
$allowedFailures = @( 503 )
$allowedFailures = [System.Net.HttpStatusCode[]](
503, # Service Unavailable
504 # Gateway Timeout
)

$prefix = $url.Substring(0,7)

Expand Down

0 comments on commit 88711d4

Please sign in to comment.