downloader: fixed tests with low ttl
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user