aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-05-20 15:15:42 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-05-20 15:15:42 +0800
commit6f54eb6d9a2375f4ee78df77068919ec0847fb1a (patch)
tree704f64495234c6a4554b5429f11f0c2ff52ca23c /eth
parenta3a5f8b59342363613f46af3413a2e5a8c124da8 (diff)
downloaddexon-6f54eb6d9a2375f4ee78df77068919ec0847fb1a.tar
dexon-6f54eb6d9a2375f4ee78df77068919ec0847fb1a.tar.gz
dexon-6f54eb6d9a2375f4ee78df77068919ec0847fb1a.tar.bz2
dexon-6f54eb6d9a2375f4ee78df77068919ec0847fb1a.tar.lz
dexon-6f54eb6d9a2375f4ee78df77068919ec0847fb1a.tar.xz
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.go2
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 {