eth, les: fix flaky tests (#20897)
* les: fix flaky test * eth: fix flaky test
This commit is contained in:
@ -140,7 +140,7 @@ func TestHandshake(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatalf("handshake failed, %v", err)
|
||||
}
|
||||
case <-time.NewTimer(100 * time.Millisecond).C:
|
||||
case <-time.After(time.Second):
|
||||
t.Fatalf("timeout")
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user