Skip to content

Commit

Permalink
integration: increase numPuts to write more than 1 page
Browse files Browse the repository at this point in the history
For ppc64.
Reference: etcd-io/bbolt#15 (comment).

Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
  • Loading branch information
gyuho committed Aug 10, 2017
1 parent 6489084 commit 2513e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func TestMetricDbSizeDefrag(t *testing.T) {
mc := toGRPC(clus.Client(0)).Maintenance

// expand the db size
numPuts := 10
numPuts := 25 // large enough to write more than 1 page
putreq := &pb.PutRequest{Key: []byte("k"), Value: make([]byte, 4096)}
for i := 0; i < numPuts; i++ {
if _, err := kvc.Put(context.TODO(), putreq); err != nil {
Expand Down

0 comments on commit 2513e8c

Please sign in to comment.