From e4fa75d58eaa7626ea10a619a3d8906daf99f73c Mon Sep 17 00:00:00 2001 From: Sergi Rene Date: Wed, 9 Oct 2024 13:50:18 +0200 Subject: [PATCH] test fix --- block/manager_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/manager_test.go b/block/manager_test.go index b997230c..e5d14962 100644 --- a/block/manager_test.go +++ b/block/manager_test.go @@ -375,7 +375,7 @@ func TestApplyLocalBlock_WithFraudCheck(t *testing.T) { assert.True(t, manager.State.Height() == 0) // enough time to sync and produce blocks - ctx, cancel := context.WithTimeout(context.Background(), time.Second*40) + ctx, cancel := context.WithTimeout(context.Background(), time.Second*4) defer cancel() // Capture the error returned by manager.Start.