aboutsummaryrefslogtreecommitdiffstats
path: root/eth/downloader/downloader_test.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-19 23:34:32 +0800
committerobscuren <geffobscura@gmail.com>2015-04-19 23:37:01 +0800
commited07ffcde5ab661a9fd41045c5ec102e7839001c (patch)
tree4af398baf6244ef760d26d56893f33ec8229c015 /eth/downloader/downloader_test.go
parentdcf1a1988ab692664a21bafbd534eb30c9f5adf6 (diff)
downloadgo-tangerine-ed07ffcde5ab661a9fd41045c5ec102e7839001c.tar
go-tangerine-ed07ffcde5ab661a9fd41045c5ec102e7839001c.tar.gz
go-tangerine-ed07ffcde5ab661a9fd41045c5ec102e7839001c.tar.bz2
go-tangerine-ed07ffcde5ab661a9fd41045c5ec102e7839001c.tar.lz
go-tangerine-ed07ffcde5ab661a9fd41045c5ec102e7839001c.tar.xz
go-tangerine-ed07ffcde5ab661a9fd41045c5ec102e7839001c.tar.zst
go-tangerine-ed07ffcde5ab661a9fd41045c5ec102e7839001c.zip
downloader: fixed tests with low ttl
Diffstat (limited to 'eth/downloader/downloader_test.go')
-rw-r--r--eth/downloader/downloader_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/eth/downloader/downloader_test.go b/eth/downloader/downloader_test.go
index 249d8a533..1d449cfba 100644
--- a/eth/downloader/downloader_test.go
+++ b/eth/downloader/downloader_test.go
@@ -110,6 +110,7 @@ func TestDownload(t *testing.T) {
glog.SetToStderr(true)
minDesiredPeerCount = 4
+ blockTtl = 1 * time.Second
hashes := createHashes(0, 1000)
blocks := createBlocksFromHashes(hashes)