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
287383a7
Commit
287383a7
authored
Aug 18, 2016
by
Jeromy Johnson
Browse files
sleep before final connectedness check
parent
f74add8a
Changes
1
Show whitespace changes
Inline
Side-by-side
p2p/net/swarm/swarm_net_test.go
View file @
287383a7
...
@@ -68,6 +68,8 @@ func TestConnectednessCorrect(t *testing.T) {
...
@@ -68,6 +68,8 @@ func TestConnectednessCorrect(t *testing.T) {
t
.
Fatal
(
err
)
t
.
Fatal
(
err
)
}
}
time
.
Sleep
(
time
.
Millisecond
*
50
)
expectConnectedness
(
t
,
nets
[
2
],
nets
[
1
],
inet
.
NotConnected
)
expectConnectedness
(
t
,
nets
[
2
],
nets
[
1
],
inet
.
NotConnected
)
for
_
,
n
:=
range
nets
{
for
_
,
n
:=
range
nets
{
...
...
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