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
3fa06e69
Unverified
Commit
3fa06e69
authored
Nov 09, 2018
by
Steven Allen
Committed by
GitHub
Nov 09, 2018
Browse files
Merge pull request #479 from libp2p/fix/478
deflake identify test
parents
da772d14
00ba6a16
Changes
1
Show whitespace changes
Inline
Side-by-side
p2p/protocol/identify/id_test.go
View file @
3fa06e69
...
@@ -88,7 +88,7 @@ func subtestIDService(t *testing.T) {
...
@@ -88,7 +88,7 @@ func subtestIDService(t *testing.T) {
// Forget the first one.
// Forget the first one.
testKnowsAddrs
(
t
,
h2
,
h1p
,
addrs
[
:
len
(
addrs
)
-
1
])
testKnowsAddrs
(
t
,
h2
,
h1p
,
addrs
[
:
len
(
addrs
)
-
1
])
time
.
Sleep
(
500
*
time
.
Millis
econd
)
time
.
Sleep
(
1
*
time
.
S
econd
)
// Forget the rest.
// Forget the rest.
testKnowsAddrs
(
t
,
h1
,
h2p
,
[]
ma
.
Multiaddr
{})
testKnowsAddrs
(
t
,
h1
,
h2p
,
[]
ma
.
Multiaddr
{})
...
...
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