Skip to content

Commit

Permalink
miner: Increase worker test timeout on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
gballet committed Nov 12, 2019
1 parent de2259d commit ce8aae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miner/worker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
Expand Down

0 comments on commit ce8aae5

Please sign in to comment.