From f20c8d495a60db86149ebe3e13e995d661bc7958 Mon Sep 17 00:00:00 2001 From: Martin Holst Swende Date: Wed, 15 Jan 2020 15:30:50 +0100 Subject: [PATCH] eth: increase timeout to fix a spurious travis test failure (#20560) --- eth/handler_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/handler_test.go b/eth/handler_test.go index 893bfffa4..354cbc068 100644 --- a/eth/handler_test.go +++ b/eth/handler_test.go @@ -608,7 +608,7 @@ func testBroadcastBlock(t *testing.T, totalPeers, broadcastExpected int) { } }(peer) } - timeout := time.After(time.Second) + timeout := time.After(2 * time.Second) var receivedCount int outer: for {