From 5ade40cbacd88d74574b6bf4551d65a367266cb3 Mon Sep 17 00:00:00 2001 From: vyzo Date: Mon, 13 Mar 2023 17:27:12 +0200 Subject: [PATCH] increase coalesce delays for test to deflake on CI --- chain/index/msgindex_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chain/index/msgindex_test.go b/chain/index/msgindex_test.go index 9861a5e7c..24f9b845f 100644 --- a/chain/index/msgindex_test.go +++ b/chain/index/msgindex_test.go @@ -200,9 +200,9 @@ func init() { rng = rand.New(rand.NewSource(314159)) // adjust those to make tests snappy - CoalesceMinDelay = time.Millisecond - CoalesceMaxDelay = 10 * time.Millisecond - CoalesceMergeInterval = time.Millisecond + CoalesceMinDelay = 100 * time.Millisecond + CoalesceMaxDelay = time.Second + CoalesceMergeInterval = 100 * time.Millisecond } func newMockChainStore() *mockChainStore {