TEST: Added config to test

This commit is contained in:
David Zhou 2025-05-13 10:07:55 -04:00
parent a11993b1dc
commit fb57716d17

View file

@ -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,