aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-05-20 17:29:23 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-05-20 17:29:23 +0800
commit6b83a0a589d4615382de3d9f3ed2800064b4c1b9 (patch)
tree423676f67c2ee71c29f7dcff34a424ec3af4f3fb
parentadaa49d2cc55d5c3c7cc5266e80995b9a21adcab (diff)
parent6f54eb6d9a2375f4ee78df77068919ec0847fb1a (diff)
downloadgo-tangerine-6b83a0a589d4615382de3d9f3ed2800064b4c1b9.tar
go-tangerine-6b83a0a589d4615382de3d9f3ed2800064b4c1b9.tar.gz
go-tangerine-6b83a0a589d4615382de3d9f3ed2800064b4c1b9.tar.bz2
go-tangerine-6b83a0a589d4615382de3d9f3ed2800064b4c1b9.tar.lz
go-tangerine-6b83a0a589d4615382de3d9f3ed2800064b4c1b9.tar.xz
go-tangerine-6b83a0a589d4615382de3d9f3ed2800064b4c1b9.tar.zst
go-tangerine-6b83a0a589d4615382de3d9f3ed2800064b4c1b9.zip
Merge pull request #1050 from karalabe/handle-slow-download-tester
eth/downloader: fix test to it doesn't time out on a slow machine
-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 {