Commit 0dbd86c4 authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

connectedness test timing

parent 3f9c1263
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment