mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-25 12:57:17 +00:00
eth/downloader: fix test to it doesn't time out on a slow machine
This commit is contained in:
parent
a3a5f8b593
commit
6f54eb6d9a
@ -382,7 +382,7 @@ func TestRepeatingHashAttack(t *testing.T) {
|
||||
|
||||
// Make sure that syncing returns and does so with a failure
|
||||
select {
|
||||
case <-time.After(100 * time.Millisecond):
|
||||
case <-time.After(time.Second):
|
||||
t.Fatalf("synchronisation blocked")
|
||||
case err := <-errc:
|
||||
if err == nil {
|
||||
|
Loading…
Reference in New Issue
Block a user