Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
p2p
go-p2p-swarm
Commits
11170936
Unverified
Commit
11170936
authored
Feb 19, 2019
by
Steven Allen
Committed by
GitHub
Feb 19, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #105 from libp2p/fix-circleci
Fix networking related test failures
parents
d780c820
9db5d015
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
dial_test.go
dial_test.go
+1
-2
No files found.
dial_test.go
View file @
11170936
...
@@ -150,7 +150,7 @@ func TestSimultDials(t *testing.T) {
...
@@ -150,7 +150,7 @@ func TestSimultDials(t *testing.T) {
func
newSilentPeer
(
t
*
testing
.
T
)
(
peer
.
ID
,
ma
.
Multiaddr
,
net
.
Listener
)
{
func
newSilentPeer
(
t
*
testing
.
T
)
(
peer
.
ID
,
ma
.
Multiaddr
,
net
.
Listener
)
{
dst
:=
testutil
.
RandPeerIDFatal
(
t
)
dst
:=
testutil
.
RandPeerIDFatal
(
t
)
lst
,
err
:=
net
.
Listen
(
"tcp"
,
":0"
)
lst
,
err
:=
net
.
Listen
(
"tcp
4
"
,
":0"
)
if
err
!=
nil
{
if
err
!=
nil
{
t
.
Fatal
(
err
)
t
.
Fatal
(
err
)
}
}
...
@@ -168,7 +168,6 @@ func newSilentPeer(t *testing.T) (peer.ID, ma.Multiaddr, net.Listener) {
...
@@ -168,7 +168,6 @@ func newSilentPeer(t *testing.T) (peer.ID, ma.Multiaddr, net.Listener) {
}
}
func
TestDialWait
(
t
*
testing
.
T
)
{
func
TestDialWait
(
t
*
testing
.
T
)
{
// t.Skip("skipping for another test")
t
.
Parallel
()
t
.
Parallel
()
ctx
:=
context
.
Background
()
ctx
:=
context
.
Background
()
...
...
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