downloader: fixed tests with low ttl

This commit is contained in:
obscuren
2015-04-19 17:34:32 +02:00
parent dcf1a1988a
commit ed07ffcde5
2 changed files with 3 additions and 2 deletions

View File

@ -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)