File tree 2 files changed +1
-13
lines changed
2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ function Initialize-CommonTestSetup
104
104
# We execute so many successive state changing commands on the same object that sometimes
105
105
# GitHub gets confused. We'll add an intentional delay to slow down our execution in an effort
106
106
# to increase the reliability of the tests.
107
- Set-GitHubConfiguration - StateChangeDelaySeconds 3
107
+ Set-GitHubConfiguration - StateChangeDelaySeconds 1
108
108
}
109
109
110
110
Initialize-CommonTestSetup
Original file line number Diff line number Diff line change 250
250
AfterAll {
251
251
if (Get-Variable - Name team - ErrorAction SilentlyContinue)
252
252
{
253
- # The CI build has been unreliable with this test.
254
- # Adding a short sleep to ensure successive queries reflect updated state.
255
- Start-Sleep - Seconds $script :defaultSleepSecondsForReliability
256
-
257
253
$team | Remove-GitHubTeam - Force
258
254
}
259
255
}
589
585
Privacy = $privacy
590
586
}
591
587
592
- # The CI build has been unreliable with this test.
593
- # Adding a short sleep to ensure successive queries reflect updated state.
594
- Start-Sleep - Seconds $script :defaultSleepSecondsForReliability
595
-
596
588
$updatedTeam = Set-GitHubTeam @updateGitHubTeamParms
597
589
}
598
590
669
661
$teamName = [Guid ]::NewGuid().Guid
670
662
671
663
$team = New-GitHubTeam - OrganizationName $organizationName - TeamName $teamName
672
-
673
- # The CI build has been unreliable with this test.
674
- # Adding a short sleep to ensure successive queries reflect updated state.
675
- Start-Sleep - Seconds $script :defaultSleepSecondsForReliability
676
664
}
677
665
678
666
It ' Should not throw an exception' {
You can’t perform that action at this time.
0 commit comments