We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d7f1c6 commit da443c1Copy full SHA for da443c1
1 file changed
index/spec_index_test.go
@@ -204,7 +204,7 @@ func TestSpecIndex_DigitalOcean(t *testing.T) {
204
205
// index the rolodex.
206
indexedErr := rolo.IndexTheRolodex(context.Background())
207
- if indexedErr != nil && strings.Contains(indexedErr.Error(), "429") {
+ if indexedErr != nil && (strings.Contains(indexedErr.Error(), "429") || hasRateLimitedRemoteErrors(remoteFS.GetErrors())) {
208
t.Skipf("skipping due to GitHub rate limit: %v", indexedErr)
209
}
210
assert.NoError(t, indexedErr)
0 commit comments