From 35dd72105464718d8596225dff48bc2d48ade682 Mon Sep 17 00:00:00 2001 From: Anca Zamfir Date: Wed, 26 Feb 2020 13:39:03 +0100 Subject: [PATCH] try different values --- blockchain/v2/reactor_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blockchain/v2/reactor_test.go b/blockchain/v2/reactor_test.go index f42b6bfc6..4978ff2ef 100644 --- a/blockchain/v2/reactor_test.go +++ b/blockchain/v2/reactor_test.go @@ -329,11 +329,11 @@ func TestReactorTerminationScenarios(t *testing.T) { reactor.processor.send(rProcessBlock{}) } // give time for messages to propagate between routines - time.Sleep(3 * time.Millisecond) + time.Sleep(10 * time.Millisecond) } // time for processor to finish and reactor to switch to consensus - time.Sleep(20 * time.Millisecond) + time.Sleep(40 * time.Millisecond) assert.True(t, mockSwitch.hasSwitchedToConsensus()) reactor.Stop() })