From 8e4512a5e7eecb53f41996776d55fe7acc92330c Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Wed, 27 May 2015 14:10:02 +0200 Subject: [PATCH] p2p/nat: bump timeout in TestAutoDiscRace --- p2p/nat/nat_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/nat/nat_test.go b/p2p/nat/nat_test.go index 95c50522e..b62640b4b 100644 --- a/p2p/nat/nat_test.go +++ b/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: