Skip to content

Commit

Permalink
fix Still Ingesting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tamirms committed Oct 30, 2020
1 parent ed67c5f commit 016c91e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion services/horizon/internal/test/integration/integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,9 @@ func (i *Test) waitForHorizon() {
continue
}

if root.HorizonSequence == 0 || root.HorizonSequence < root.CoreSequence {
if root.HorizonSequence < 2 ||
int(root.HorizonSequence) != int(root.IngestSequence) ||
root.HorizonSequence < root.CoreSequence {
i.t.Logf("Horizon ingesting... %v", root)
time.Sleep(time.Second)
continue
Expand Down

0 comments on commit 016c91e

Please sign in to comment.