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
dms3
go-dms3
Commits
0dbd86c4
Commit
0dbd86c4
authored
Dec 22, 2014
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
connectedness test timing
parent
3f9c1263
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
net/net_test.go
net/net_test.go
+5
-0
No files found.
net/net_test.go
View file @
0dbd86c4
...
...
@@ -3,6 +3,7 @@ package net_test
import
(
"fmt"
"testing"
"time"
context
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/go.net/context"
inet
"github.com/jbenet/go-ipfs/net"
...
...
@@ -33,6 +34,10 @@ func TestConnectednessCorrect(t *testing.T) {
dial
(
nets
[
1
],
nets
[
2
])
dial
(
nets
[
3
],
nets
[
2
])
// there's something wrong with dial, i think. it's not finishing
// completely. there must be some async stuff.
<-
time
.
After
(
100
*
time
.
Millisecond
)
// test those connected show up correctly
// test connected
...
...
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