1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-09 17:22:21 +08:00

godeps: following up on PR #1098 to drop the facebookgo code

I want to follow this up with a thorough execution of my x/tool/cmd/eg experiments (https://github.com/ipfs/go-ipfs/compare/errRampage)
This commit is contained in:
Henry
2015-04-28 13:00:26 +02:00
parent 362fc02713
commit 7a6febbe38
15 changed files with 13 additions and 582 deletions

View File

@ -2,6 +2,7 @@ package integrationtest
import (
"bytes"
"errors"
"fmt"
"io"
"math"
@ -11,12 +12,12 @@ import (
random "github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-random"
context "github.com/ipfs/go-ipfs/Godeps/_workspace/src/golang.org/x/net/context"
"github.com/ipfs/go-ipfs/core"
coreunix "github.com/ipfs/go-ipfs/core/coreunix"
mocknet "github.com/ipfs/go-ipfs/p2p/net/mock"
"github.com/ipfs/go-ipfs/p2p/peer"
"github.com/ipfs/go-ipfs/thirdparty/unit"
errors "github.com/ipfs/go-ipfs/util/debugerror"
testutil "github.com/ipfs/go-ipfs/util/testutil"
)
@ -91,7 +92,7 @@ func DirectAddCat(data []byte, conf testutil.LatencyConfig) error {
// create network
mn, err := mocknet.FullMeshLinked(ctx, numPeers)
if err != nil {
return errors.Wrap(err)
return err
}
mn.SetLinkDefaults(mocknet.LinkOptions{
Latency: conf.NetworkLatency,