mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 21:17:16 +00:00
Fix TestIndexGenerator_GenerateIndex_SimpleCase (out of file handles) (#596)
* Fix test * Fix formatting
This commit is contained in:
parent
786561e65e
commit
04b0dafb3d
@ -28,7 +28,7 @@ func TestIndexGenerator_GenerateIndex_SimpleCase(t *testing.T) {
|
|||||||
}
|
}
|
||||||
addrs, expecedIndexes := generateTestData(t, db, csBucket, blocksNum)
|
addrs, expecedIndexes := generateTestData(t, db, csBucket, blocksNum)
|
||||||
|
|
||||||
ig.ChangeSetBufSize = 1024
|
ig.ChangeSetBufSize = 16 * 1024
|
||||||
err := ig.GenerateIndex(0, csBucket)
|
err := ig.GenerateIndex(0, csBucket)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
|
Loading…
Reference in New Issue
Block a user