From 2513e8c9ce6c2dc7410a5a22a1673192ffa272e2 Mon Sep 17 00:00:00 2001 From: Gyu-Ho Lee Date: Thu, 10 Aug 2017 16:39:51 -0700 Subject: [PATCH] integration: increase numPuts to write more than 1 page For ppc64. Reference: https://github.com/coreos/bbolt/issues/15#issuecomment-321700834. Signed-off-by: Gyu-Ho Lee --- integration/metrics_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/metrics_test.go b/integration/metrics_test.go index 8e7d60a537c..bd7850cf2c4 100644 --- a/integration/metrics_test.go +++ b/integration/metrics_test.go @@ -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 {