mirror of
https://github.com/arnaucube/go-ethereum.git
synced 2026-02-28 05:56:45 +01:00
eth/downloader: fix test to it doesn't time out on a slow machine
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user