mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-13 11:36:37 +00:00
eth/downloader: update test for shitty travis
This commit is contained in:
parent
0275fcb3d3
commit
9da0232eef
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue