eth/downloader: update test for shitty travis

release/0.9.36
Péter Szilágyi 10 years ago
parent 0275fcb3d3
commit 9da0232eef
  1. 2
      eth/downloader/downloader_test.go

@ -274,7 +274,7 @@ func TestThrottling(t *testing.T) {
// Iteratively take some blocks, always checking the retrieval count // Iteratively take some blocks, always checking the retrieval count
for total := 0; total < targetBlocks; { for total := 0; total < targetBlocks; {
// Sleep a bit for sync to complete // Sleep a bit for sync to complete
time.Sleep(250 * time.Millisecond) time.Sleep(500 * time.Millisecond)
// Fetch the next batch of blocks // Fetch the next batch of blocks
took := tester.downloader.TakeBlocks() took := tester.downloader.TakeBlocks()

Loading…
Cancel
Save