Skip to content

Commit da443c1

Browse files
committed
rebased and ported luke's work
1 parent 2d7f1c6 commit da443c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index/spec_index_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ func TestSpecIndex_DigitalOcean(t *testing.T) {
204204

205205
// index the rolodex.
206206
indexedErr := rolo.IndexTheRolodex(context.Background())
207-
if indexedErr != nil && strings.Contains(indexedErr.Error(), "429") {
207+
if indexedErr != nil && (strings.Contains(indexedErr.Error(), "429") || hasRateLimitedRemoteErrors(remoteFS.GetErrors())) {
208208
t.Skipf("skipping due to GitHub rate limit: %v", indexedErr)
209209
}
210210
assert.NoError(t, indexedErr)

0 commit comments

Comments
 (0)