diff options
Diffstat (limited to 'miner/worker_test.go')
-rw-r--r-- | miner/worker_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miner/worker_test.go b/miner/worker_test.go index 7c8f167a1..bfa9cbd21 100644 --- a/miner/worker_test.go +++ b/miner/worker_test.go @@ -224,7 +224,7 @@ func testEmptyWork(t *testing.T, chainConfig *params.ChainConfig, engine consens for i := 0; i < 2; i += 1 { select { case <-taskCh: - case <-time.NewTimer(time.Second).C: + case <-time.NewTimer(2 * time.Second).C: t.Error("new task timeout") } } |