From b46d40896b2e26e49405f576ffbf8348ddfc3268 Mon Sep 17 00:00:00 2001 From: Anca Zamfir Date: Wed, 26 Feb 2020 10:44:58 +0100 Subject: [PATCH] try higher sleep val --- blockchain/v2/reactor_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockchain/v2/reactor_test.go b/blockchain/v2/reactor_test.go index 10457cdb0..f42b6bfc6 100644 --- a/blockchain/v2/reactor_test.go +++ b/blockchain/v2/reactor_test.go @@ -329,7 +329,7 @@ func TestReactorTerminationScenarios(t *testing.T) { reactor.processor.send(rProcessBlock{}) } // give time for messages to propagate between routines - time.Sleep(time.Millisecond) + time.Sleep(3 * time.Millisecond) } // time for processor to finish and reactor to switch to consensus