diff --git a/miner/worker_test.go b/miner/worker_test.go index 34f17e8a2432028e5d98b086e55a9c5bd3841219..ab70cbad1ad4d3754ce9c5155e28cef06acf13e9 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") } }