aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-05-27 20:10:02 +0800
committerFelix Lange <fjl@twurst.com>2015-05-28 07:09:26 +0800
commit8e4512a5e7eecb53f41996776d55fe7acc92330c (patch)
treefe3d101f2220db33e672e5ab7870164fed72ec36
parent651030c98d0173db272aaee814c99f0a664d992b (diff)
downloaddexon-8e4512a5e7eecb53f41996776d55fe7acc92330c.tar
dexon-8e4512a5e7eecb53f41996776d55fe7acc92330c.tar.gz
dexon-8e4512a5e7eecb53f41996776d55fe7acc92330c.tar.bz2
dexon-8e4512a5e7eecb53f41996776d55fe7acc92330c.tar.lz
dexon-8e4512a5e7eecb53f41996776d55fe7acc92330c.tar.xz
dexon-8e4512a5e7eecb53f41996776d55fe7acc92330c.tar.zst
dexon-8e4512a5e7eecb53f41996776d55fe7acc92330c.zip
p2p/nat: bump timeout in TestAutoDiscRace
-rw-r--r--p2p/nat/nat_test.go2
1 files changed, 1 insertions, 1 deletions
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: