eth/downloader: update test for shitty travis
This commit is contained in:
parent
0275fcb3d3
commit
9da0232eef
|
@ -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…
Reference in New Issue