mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-23 04:03:49 +00:00
fix windows tests
This commit is contained in:
parent
f5da8833b6
commit
d3c8634df8
@ -30,6 +30,7 @@ func createTestSegmentFile(t *testing.T, from, to uint64, name SnapshotType, dir
|
||||
LeafSize: 8,
|
||||
})
|
||||
require.NoError(t, err)
|
||||
defer idx.Close()
|
||||
err = idx.AddKey([]byte{1}, 0)
|
||||
require.NoError(t, err)
|
||||
err = idx.Build()
|
||||
@ -47,6 +48,7 @@ func createTestSegmentFile(t *testing.T, from, to uint64, name SnapshotType, dir
|
||||
require.NoError(t, err)
|
||||
err = idx.Build()
|
||||
require.NoError(t, err)
|
||||
defer idx.Close()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user