From ce8aae517d8b2f1421770ed76868211f6837c051 Mon Sep 17 00:00:00 2001 From: Guillaume Ballet Date: Tue, 12 Nov 2019 10:56:40 +0100 Subject: [PATCH] miner: Increase worker test timeout on travis --- miner/worker_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miner/worker_test.go b/miner/worker_test.go index 34f17e8a2432..ab70cbad1ad4 100644 --- a/miner/worker_test.go +++ b/miner/worker_test.go @@ -357,7 +357,7 @@ func testEmptyWork(t *testing.T, chainConfig *params.ChainConfig, engine consens for i := 0; i < 2; i += 1 { select { case <-taskCh: - case <-time.NewTimer(4 * time.Second).C: + case <-time.NewTimer(30 * time.Second).C: t.Error("new task timeout") } }