Skip to content

Commit 5601344

Browse files
authored
Update integrations/repo_search_test.go
1 parent 00ed170 commit 5601344

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integrations/repo_search_test.go

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

4141
i := 0
4242
for {
43-
if repo.IndexerStatus != nil && len(repo.IndexerStatus.CommitSha) != 0 && i <= 60 {
43+
if (repo.IndexerStatus != nil && len(repo.IndexerStatus.CommitSha) != 0) || i > 60 {
4444
break
4545
}
4646
time.Sleep(1 * time.Second)

0 commit comments

Comments
 (0)