Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
go-libp2p
Commits
0dfca3ba
Commit
0dfca3ba
authored
Oct 26, 2018
by
vyzo
Browse files
increase test AutoNATIdentifyDelay to 100ms
macosx seems to fail intermittently, and that race is the likely culprit.
parent
7b324b14
Changes
1
Show whitespace changes
Inline
Side-by-side
p2p/host/relay/autorelay_test.go
View file @
0dfca3ba
...
@@ -26,7 +26,7 @@ import (
...
@@ -26,7 +26,7 @@ import (
// test specific parameters
// test specific parameters
func
init
()
{
func
init
()
{
autonat
.
AutoNATIdentifyDelay
=
10
*
time
.
Millisecond
autonat
.
AutoNATIdentifyDelay
=
10
0
*
time
.
Millisecond
autonat
.
AutoNATBootDelay
=
1
*
time
.
Second
autonat
.
AutoNATBootDelay
=
1
*
time
.
Second
relay
.
BootDelay
=
1
*
time
.
Second
relay
.
BootDelay
=
1
*
time
.
Second
manet
.
Private4
=
[]
*
net
.
IPNet
{}
manet
.
Private4
=
[]
*
net
.
IPNet
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment