Skip to content

Commit

Permalink
modify to maxUint64
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-goldstein committed Nov 28, 2022
1 parent b469f34 commit b79ad90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posting/list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@ func TestMultiPartListIterAfterUid(t *testing.T) {
ol, _ := createMultiPartList(t, size, false)

var visitedUids []uint64
ol.Iterate(uint64(size+1), 50000, func(p *pb.Posting) error {
ol.Iterate(math.MaxUint64, 50000, func(p *pb.Posting) error {
visitedUids = append(visitedUids, p.Uid)
return nil
})
Expand Down

0 comments on commit b79ad90

Please sign in to comment.