Commit 6f54eb6d authored by Péter Szilágyi's avatar Péter Szilágyi

eth/downloader: fix test to it doesn't time out on a slow machine

parent a3a5f8b5
......@@ -382,7 +382,7 @@ func TestRepeatingHashAttack(t *testing.T) {
// Make sure that syncing returns and does so with a failure
select {
case <-time.After(100 * time.Millisecond):
case <-time.After(time.Second):
t.Fatalf("synchronisation blocked")
case err := <-errc:
if err == nil {
......
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