mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
FIX: Local buffers
This commit is contained in:
parent
6a3c000a4d
commit
9ba4611433
1 changed files with 3 additions and 1 deletions
|
|
@ -15,6 +15,7 @@ import (
|
|||
func TestFirehose_BlockPrintsToFirehose_SingleBlock(t *testing.T) {
|
||||
|
||||
f := NewFirehose(&FirehoseConfig{
|
||||
ConcurrentBlockFlushing: true,
|
||||
ApplyBackwardCompatibility: ptr(false),
|
||||
private: &privateFirehoseConfig{
|
||||
FlushToTestBuffer: true,
|
||||
|
|
@ -61,10 +62,11 @@ func TestFirehose_BlockPrintsToFirehose_SingleBlock(t *testing.T) {
|
|||
|
||||
func TestFirehose_BlocksPrintToFirehose_MultipleBlocksInOrder(t *testing.T) {
|
||||
|
||||
const blockCount = 100
|
||||
const blockCount = 10
|
||||
const baseBlockNum = 1000
|
||||
|
||||
f := NewFirehose(&FirehoseConfig{
|
||||
ConcurrentBlockFlushing: true,
|
||||
ApplyBackwardCompatibility: ptr(false),
|
||||
private: &privateFirehoseConfig{
|
||||
FlushToTestBuffer: true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue