Skip to content

Commit

Permalink
fixing more lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
harshil-goel committed Oct 16, 2024
1 parent 725d4f5 commit 22bf81b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions posting/list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package posting

import (
"context"
"fmt"
"math"
"math/rand"
"os"
Expand Down Expand Up @@ -511,10 +512,10 @@ func TestReadSingleValue(t *testing.T) {
key := x.DataKey(x.GalaxyAttr("value"), 1240)
ol, err := getNew(key, ps, math.MaxUint64)
require.NoError(t, err)
N := int(10000)
for i := uint64(2); i <= uint64(N); i += 2 {
N := uint64(10000)
for i := uint64(2); i <= N; i += 2 {
edge := &pb.DirectedEdge{
Value: []byte("ho hey there" + strconv.Itoa(int(i))),
Value: []byte(fmt.Sprintf("ho hey there%d", i)),
}
txn := Txn{StartTs: i}
addMutationHelper(t, ol, edge, Set, &txn)
Expand Down

0 comments on commit 22bf81b

Please sign in to comment.