@@ -512,7 +512,8 @@ replayq_overflow_test() ->
512512 replayq_max_total_bytes => BatchSize ,
513513 required_acks => all_isr ,
514514 max_linger_ms => LingerMs , % % delay enqueue
515- max_linger_bytes => BatchSize + 1 % % delay enqueue
515+ max_linger_bytes => BatchSize + 1 , % % delay enqueue
516+ replayq_dir => " test-data/overlow"
516517 },
517518 {ok , Producers } = wolff :start_producers (Client , <<" test-topic" >>, ProducerCfg ),
518519 Pid = wolff_producers :lookup_producer (Producers , 0 ),
@@ -577,7 +578,6 @@ replayq_highmem_overflow_test() ->
577578 ProducerCfg = #{max_batch_bytes => 1 , % % make sure not collecting calls into one batch
578579 replayq_max_total_bytes => BatchSize * 1000 ,
579580 required_acks => all_isr ,
580- max_linger_ms => 1000 , % % do not send to kafka immediately
581581 drop_if_highmem => true
582582 },
583583 {ok , Producers } = wolff :start_producers (Client , <<" test-topic" >>, ProducerCfg ),
@@ -664,7 +664,7 @@ mem_only_replayq_test() ->
664664recover_from_replayq_test () ->
665665 ClientCfg = client_config (),
666666 {ok , Client } = start_client (<<" client-2" >>, ? HOSTS , ClientCfg ),
667- ProducerCfg = #{replayq_dir => " test-data-2 " },
667+ ProducerCfg = #{replayq_dir => " test-data/recover " },
668668 {ok , Producers } = wolff :start_producers (Client , <<" test-topic" >>, ProducerCfg ),
669669 Msg = #{key => ? KEY , value => <<" value" >>},
670670 {0 , BaseOffset } = wolff :send_sync (Producers , [Msg ], 3000 ),
@@ -858,7 +858,8 @@ test_batch_split_then_drop(Topic, MaxMessageBytes) ->
858858 % % ensure batching by delay enqueue by 100 seconds
859859 max_linger_ms => 100 ,
860860 % % ensure linger is not expired by reaching size
861- max_linger_bytes => MaxMessageBytes * 100
861+ max_linger_bytes => MaxMessageBytes * 100 ,
862+ replayq_dir => " test-data/batch-split"
862863 },
863864 {ok , Producers } = wolff :start_producers (Client , TopicBin , ProducerCfg ),
864865 MaxBytesCompensateOverhead = MaxMessageBytes - ? BATCHING_OVERHEAD - 7 ,
0 commit comments