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 a0090ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion integration/metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ func TestMetricDbSizeDefrag(t *testing.T) {
mc := toGRPC(clus.Client(0)).Maintenance

// expand the db size
numPuts := 10
// configure numPuts large enough to exceed 1 page
numPuts := 25
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 a0090ba

Please sign in to comment.