p2p/nat: bump timeout in TestAutoDiscRace

This commit is contained in:
Felix Lange 2015-05-27 14:10:02 +02:00
parent 651030c98d
commit 8e4512a5e7

View File

@ -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: