From 67c5516810095a8fbc277dcf5cb7f36db9e4682e Mon Sep 17 00:00:00 2001 From: Aleksandr Bezobchuk Date: Mon, 11 Jan 2021 10:59:30 -0500 Subject: [PATCH] blockchain v0: bump test timeout --- blockchain/v0/reactor_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blockchain/v0/reactor_test.go b/blockchain/v0/reactor_test.go index b6318cfa0..721e0eeea 100644 --- a/blockchain/v0/reactor_test.go +++ b/blockchain/v0/reactor_test.go @@ -350,7 +350,7 @@ func TestReactor_BadBlockStopsPeer(t *testing.T) { return caughtUp }, - time.Minute, + 10*time.Minute, 10*time.Millisecond, "expected all nodes to be fully synced", ) @@ -381,7 +381,7 @@ func TestReactor_BadBlockStopsPeer(t *testing.T) { require.Eventually( t, func() bool { return newSuite.reactor.pool.MaxPeerHeight() > 0 && newSuite.reactor.pool.IsCaughtUp() }, - time.Minute, + 10*time.Minute, 10*time.Millisecond, "expected new node to be fully synced", ) @@ -389,7 +389,7 @@ func TestReactor_BadBlockStopsPeer(t *testing.T) { require.Eventuallyf( t, func() bool { return len(newSuite.reactor.pool.peers) == len(testSuites)-3 }, - time.Minute, + 10*time.Minute, 10*time.Millisecond, "invalid number of peers; expected: %d, got: %d", len(testSuites)-3,