From 0dfca3ba5d068b178a3431caaa1e26b52b7be0a8 Mon Sep 17 00:00:00 2001 From: vyzo Date: Fri, 26 Oct 2018 14:06:19 +0300 Subject: [PATCH] increase test AutoNATIdentifyDelay to 100ms macosx seems to fail intermittently, and that race is the likely culprit. --- p2p/host/relay/autorelay_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/host/relay/autorelay_test.go b/p2p/host/relay/autorelay_test.go index a3ac7dd2..bd738f5c 100644 --- a/p2p/host/relay/autorelay_test.go +++ b/p2p/host/relay/autorelay_test.go @@ -26,7 +26,7 @@ import ( // test specific parameters func init() { - autonat.AutoNATIdentifyDelay = 10 * time.Millisecond + autonat.AutoNATIdentifyDelay = 100 * time.Millisecond autonat.AutoNATBootDelay = 1 * time.Second relay.BootDelay = 1 * time.Second manet.Private4 = []*net.IPNet{}