mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-22 11:31:02 +00:00
p2p/nat: bump timeout in TestAutoDiscRace
This commit is contained in:
parent
651030c98d
commit
8e4512a5e7
@ -30,7 +30,7 @@ func TestAutoDiscRace(t *testing.T) {
|
||||
}
|
||||
|
||||
// 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++ {
|
||||
select {
|
||||
case <-deadline:
|
||||
|
Loading…
Reference in New Issue
Block a user