mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-27 13:22:56 +00:00
Merge pull request #1050 from karalabe/handle-slow-download-tester
eth/downloader: fix test to it doesn't time out on a slow machine
This commit is contained in:
commit
6b83a0a589
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue