diff --git a/miner/worker_test.go b/miner/worker_test.go index de89d0ffe..7a6ec698c 100644 --- a/miner/worker_test.go +++ b/miner/worker_test.go @@ -200,7 +200,7 @@ func TestGenerateAndImportBlock(t *testing.T) { for i := 0; i < 5; i++ { b.txPool.Add([]*types.Transaction{b.newRandomTx(true)}, true, false) b.txPool.Add([]*types.Transaction{b.newRandomTx(false)}, true, false) - time.Sleep(1 * time.Second) // Wait for txs to be promoted + time.Sleep(2 * time.Second) // Wait for txs to be promoted select { case ev := <-sub.Chan():