mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
les: fix flaky test
This commit is contained in:
parent
3cf7d2e9a6
commit
bf12aa5aef
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ func TestHandshake(t *testing.T) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("handshake failed, %v", err)
|
t.Fatalf("handshake failed, %v", err)
|
||||||
}
|
}
|
||||||
case <-time.NewTimer(100 * time.Millisecond).C:
|
case <-time.After(time.Second):
|
||||||
t.Fatalf("timeout")
|
t.Fatalf("timeout")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue