diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-05-20 15:15:42 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-05-20 15:15:42 +0800 |
commit | 6f54eb6d9a2375f4ee78df77068919ec0847fb1a (patch) | |
tree | 704f64495234c6a4554b5429f11f0c2ff52ca23c /eth | |
parent | a3a5f8b59342363613f46af3413a2e5a8c124da8 (diff) | |
download | dexon-6f54eb6d9a2375f4ee78df77068919ec0847fb1a.tar.gz dexon-6f54eb6d9a2375f4ee78df77068919ec0847fb1a.tar.zst dexon-6f54eb6d9a2375f4ee78df77068919ec0847fb1a.zip |
eth/downloader: fix test to it doesn't time out on a slow machine
Diffstat (limited to 'eth')
-rw-r--r-- | eth/downloader/downloader_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/downloader/downloader_test.go b/eth/downloader/downloader_test.go index 19d64ac67..98fdef696 100644 --- a/eth/downloader/downloader_test.go +++ b/eth/downloader/downloader_test.go @@ -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 { |