Unverified Commit 2aaff0ad authored by Marius van der Wijden's avatar Marius van der Wijden Committed by GitHub

consensus/ethash: increase seal timeout for tests (#22162)

It seems that the 2 second timeout is not enough for Travis CI:

   --- FAIL: TestTestMode (2.00s)
       ethash_test.go:53: sealing result timeout
parent 6296211a
......@@ -49,7 +49,7 @@ func TestTestMode(t *testing.T) {
if err := ethash.VerifySeal(nil, header); err != nil {
t.Fatalf("unexpected verification error: %v", err)
}
case <-time.NewTimer(2 * time.Second).C:
case <-time.NewTimer(4 * time.Second).C:
t.Error("sealing result timeout")
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment