mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +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) {
|
func TestFirehose_BlockPrintsToFirehose_SingleBlock(t *testing.T) {
|
||||||
|
|
||||||
f := NewFirehose(&FirehoseConfig{
|
f := NewFirehose(&FirehoseConfig{
|
||||||
|
ConcurrentBlockFlushing: true,
|
||||||
ApplyBackwardCompatibility: ptr(false),
|
ApplyBackwardCompatibility: ptr(false),
|
||||||
private: &privateFirehoseConfig{
|
private: &privateFirehoseConfig{
|
||||||
FlushToTestBuffer: true,
|
FlushToTestBuffer: true,
|
||||||
|
|
@ -65,6 +66,7 @@ func TestFirehose_BlocksPrintToFirehose_MultipleBlocksInOrder(t *testing.T) {
|
||||||
const baseBlockNum = 1000
|
const baseBlockNum = 1000
|
||||||
|
|
||||||
f := NewFirehose(&FirehoseConfig{
|
f := NewFirehose(&FirehoseConfig{
|
||||||
|
ConcurrentBlockFlushing: true,
|
||||||
ApplyBackwardCompatibility: ptr(false),
|
ApplyBackwardCompatibility: ptr(false),
|
||||||
private: &privateFirehoseConfig{
|
private: &privateFirehoseConfig{
|
||||||
FlushToTestBuffer: true,
|
FlushToTestBuffer: true,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue