Skip to content

Commit

Permalink
Remove added sleeps in lieu of new relibability design from #268
Browse files Browse the repository at this point in the history
  • Loading branch information
HowardWolosky committed Jul 20, 2020
1 parent d8517c6 commit 2fe6ca2
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Tests/GitHubRepositories.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1271,11 +1271,6 @@ try
Describe 'GitHubRepositories\Disable-GitHubRepositoryVulnerabilityAlert' {
BeforeAll {
$repo = New-GitHubRepository -RepositoryName ([Guid]::NewGuid().Guid)

# The CI build has been unreliable with this test.
# Adding a short sleep to ensure successive queries reflect updated state.
Start-Sleep -Seconds $script:defaultSleepSecondsForReliability

Enable-GitHubRepositoryVulnerabilityAlert -Uri $repo.svn_url
}

Expand Down Expand Up @@ -1311,11 +1306,6 @@ try
Describe 'GitHubRepositories\Disable-GitHubRepositorySecurityFix' {
BeforeAll {
$repo = New-GitHubRepository -RepositoryName ([Guid]::NewGuid().Guid)

# The CI build has been unreliable with this test.
# Adding a short sleep to ensure successive queries reflect updated state.
Start-Sleep -Seconds $script:defaultSleepSecondsForReliability

Enable-GitHubRepositorySecurityFix -Uri $repo.svn_url
}

Expand Down

0 comments on commit 2fe6ca2

Please sign in to comment.