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
e13ad02f
Commit
e13ad02f
authored
Feb 03, 2015
by
Juan Batiz-Benet
Browse files
test/mocknet: this test fails on CI sometimes
parent
72b70417
Changes
1
Hide whitespace changes
Inline
Side-by-side
net/mock/mock_notif_test.go
View file @
e13ad02f
...
@@ -11,14 +11,13 @@ import (
...
@@ -11,14 +11,13 @@ import (
)
)
func
TestNotifications
(
t
*
testing
.
T
)
{
func
TestNotifications
(
t
*
testing
.
T
)
{
t
.
Parallel
()
mn
,
err
:=
FullMeshLinked
(
context
.
Background
(),
5
)
mn
,
err
:=
FullMeshLinked
(
context
.
Background
(),
5
)
if
err
!=
nil
{
if
err
!=
nil
{
t
.
Fatal
(
err
)
t
.
Fatal
(
err
)
}
}
timeout
:=
5
*
time
.
Second
timeout
:=
10
*
time
.
Second
// signup notifs
// signup notifs
nets
:=
mn
.
Nets
()
nets
:=
mn
.
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