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 19, 2020
1 parent 849e943 commit 94a3daf
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 94a3daf

Please sign in to comment.