Ver Fonte

p2p/nat: bump timeout in TestAutoDiscRace

Felix Lange há 10 anos atrás
pai
commit
8e4512a5e7
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      p2p/nat/nat_test.go

+ 1 - 1
p2p/nat/nat_test.go

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