Fix TestIndexGenerator_GenerateIndex_SimpleCase (out of file handles) (#596)

* Fix test

* Fix formatting
This commit is contained in:
ledgerwatch 2020-05-31 09:12:10 +01:00 committed by GitHub
parent 786561e65e
commit 04b0dafb3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)