good morning!!!!

Skip to content
Snippets Groups Projects
Commit 22e3bbbf authored by Guillaume Ballet's avatar Guillaume Ballet Committed by Felix Lange
Browse files

miner: increase worker test timeout (#20268)

TestEmptyWork* occasionally fails due to timeout. Increase the timeout.
parent 4ea9b62b
No related branches found
No related tags found
No related merge requests found
......@@ -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")
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment