Commit 8e4512a5 authored by Felix Lange's avatar Felix Lange

p2p/nat: bump timeout in TestAutoDiscRace

parent 651030c9
...@@ -30,7 +30,7 @@ func TestAutoDiscRace(t *testing.T) { ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment