From f8938b33def1b6dd346c94a8b112da19aa261050 Mon Sep 17 00:00:00 2001 From: Sergi Rene Date: Fri, 18 Oct 2024 11:31:09 +0200 Subject: [PATCH] test update --- block/submit_loop_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/block/submit_loop_test.go b/block/submit_loop_test.go index 84f0059d6..361e2fc9d 100644 --- a/block/submit_loop_test.go +++ b/block/submit_loop_test.go @@ -132,7 +132,7 @@ func TestSubmitLoopFastProducerHaltingSubmitter(t *testing.T) { testArgs{ nParallel: 50, testDuration: 2 * time.Second, - batchSkew: 40 * time.Millisecond, + batchSkew: 100 * time.Millisecond, skewMargin: 5 * time.Millisecond, batchBytes: 100, maxTime: 10 * time.Millisecond, @@ -141,7 +141,7 @@ func TestSubmitLoopFastProducerHaltingSubmitter(t *testing.T) { produceTime: 2 * time.Millisecond, // a relatively long possibility of the submitter halting // tests the case where we need to stop the producer getting too far ahead - submissionHaltTime: 50 * time.Millisecond, + submissionHaltTime: 200 * time.Millisecond, submissionHaltProbability: 0.05, }, ) @@ -154,7 +154,7 @@ func TestSubmitLoopTimer(t *testing.T) { testArgs{ nParallel: 50, testDuration: 2 * time.Second, - batchSkew: 150 * time.Millisecond, + batchSkew: 100 * time.Millisecond, skewMargin: 5 * time.Millisecond, batchBytes: 100, maxTime: 10 * time.Millisecond,