mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-19 14:29:27 +00:00
p2p/nat: bump timeout in TestAutoDiscRace
This commit is contained in:
parent
651030c98d
commit
8e4512a5e7
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ func TestAutoDiscRace(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check that they all return the correct result within the deadline.
|
// Check that they all return the correct result within the deadline.
|
||||||
deadline := time.After(550 * time.Millisecond)
|
deadline := time.After(2 * time.Second)
|
||||||
for i := 0; i < cap(results); i++ {
|
for i := 0; i < cap(results); i++ {
|
||||||
select {
|
select {
|
||||||
case <-deadline:
|
case <-deadline:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue