mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
TEST: Added config to test
This commit is contained in:
parent
a11993b1dc
commit
fb57716d17
1 changed files with 2 additions and 0 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,
|
||||
|
|
@ -65,6 +66,7 @@ func TestFirehose_BlocksPrintToFirehose_MultipleBlocksInOrder(t *testing.T) {
|
|||
const baseBlockNum = 1000
|
||||
|
||||
f := NewFirehose(&FirehoseConfig{
|
||||
ConcurrentBlockFlushing: true,
|
||||
ApplyBackwardCompatibility: ptr(false),
|
||||
private: &privateFirehoseConfig{
|
||||
FlushToTestBuffer: true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue