eth/downloader: extend slow test to fix even slower CI server...

This commit is contained in:
Péter Szilágyi 2015-06-18 00:42:02 +03:00
parent 55dd8fd621
commit 4365668462

View File

@ -359,7 +359,7 @@ func TestSlowSynchronisation(t *testing.T) {
// Create a batch of blocks, with a slow and a full speed peer // Create a batch of blocks, with a slow and a full speed peer
targetCycles := 2 targetCycles := 2
targetBlocks := targetCycles*blockCacheLimit - 15 targetBlocks := targetCycles*blockCacheLimit - 15
targetIODelay := 500 * time.Millisecond targetIODelay := time.Second
hashes := createHashes(targetBlocks, knownHash) hashes := createHashes(targetBlocks, knownHash)
blocks := createBlocksFromHashes(hashes) blocks := createBlocksFromHashes(hashes)