From 54e2ef1f010f5616f52cf4945a28f3b3802eb853 Mon Sep 17 00:00:00 2001 From: nisdas Date: Fri, 26 Feb 2021 09:11:55 +0800 Subject: [PATCH] fix test case --- .../db/kv/migration_source_target_epochs_bucket_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/validator/db/kv/migration_source_target_epochs_bucket_test.go b/validator/db/kv/migration_source_target_epochs_bucket_test.go index 13eece219779..abfe5611b3f2 100644 --- a/validator/db/kv/migration_source_target_epochs_bucket_test.go +++ b/validator/db/kv/migration_source_target_epochs_bucket_test.go @@ -230,9 +230,9 @@ func Test_batchPublicKeys(t *testing.T) { }, { name: "> batch size returns proper batches", - batchSize: 2, - publicKeys: [][]byte{{1}, {2}, {3}}, - want: [][][]byte{{{1}, {2}}, {{3}}}, + batchSize: 5, + publicKeys: [][]byte{{1}, {2}, {3}, {4}, {5}, {6}, {7}, {8}}, + want: [][][]byte{{{1}, {2}, {3}, {4}, {5}}, {{6}, {7}, {8}}}, }, { name: "equal size batches returns proper batches",