From 04b0dafb3d265e8d2bd8216e9d34d8964ea4483b Mon Sep 17 00:00:00 2001 From: ledgerwatch Date: Sun, 31 May 2020 09:12:10 +0100 Subject: [PATCH] Fix TestIndexGenerator_GenerateIndex_SimpleCase (out of file handles) (#596) * Fix test * Fix formatting --- core/generate_index_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/generate_index_test.go b/core/generate_index_test.go index 770110161..f84348af7 100644 --- a/core/generate_index_test.go +++ b/core/generate_index_test.go @@ -28,7 +28,7 @@ func TestIndexGenerator_GenerateIndex_SimpleCase(t *testing.T) { } addrs, expecedIndexes := generateTestData(t, db, csBucket, blocksNum) - ig.ChangeSetBufSize = 1024 + ig.ChangeSetBufSize = 16 * 1024 err := ig.GenerateIndex(0, csBucket) if err != nil { t.Fatal(err)