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-bitswap
Commits
fc37b2f6
Commit
fc37b2f6
authored
Oct 19, 2017
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gx update go-peerstream, go-libp2p-floodsub
License: MIT Signed-off-by:
Steven Allen
<
steven@stebalien.com
>
parent
b16d5d15
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
bitswap_test.go
bitswap_test.go
+1
-1
testnet/peernet.go
testnet/peernet.go
+1
-1
testutils.go
testutils.go
+1
-1
No files found.
bitswap_test.go
View file @
fc37b2f6
...
...
@@ -20,8 +20,8 @@ import (
detectrace
"github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-detect-race"
cid
"gx/ipfs/QmNp85zy9RLrQ5oQD4hPyS39ezrrXpcaa7R4Y9kxdWQLLQ/go-cid"
p2ptestutil
"gx/ipfs/QmQGX417WoxKxDJeHqouMEmmH4G1RCENNSzkZYHrXy3Xb3/go-libp2p-netutil"
tu
"gx/ipfs/QmWRCn8vruNAzHx8i6SAXinuheRitKEGu8c7m26stKvsYx/go-testutil"
p2ptestutil
"gx/ipfs/QmdzuGp4a9pahgXuBeReHdYGUzdVX3FUCwfmWVo5mQfkTi/go-libp2p-netutil"
)
// FIXME the tests are really sensitive to the network delay. fix them to work
...
...
testnet/peernet.go
View file @
fc37b2f6
...
...
@@ -7,7 +7,7 @@ import (
ds
"gx/ipfs/QmVSase1JP7cq9QkPT46oNwdp9pT6kBkG3oqS14y3QcZjG/go-datastore"
testutil
"gx/ipfs/QmWRCn8vruNAzHx8i6SAXinuheRitKEGu8c7m26stKvsYx/go-testutil"
peer
"gx/ipfs/QmXYjuNuxVzXKJCfWasQk1RqkhVLDM9jtUKhqc2WPQmFSB/go-libp2p-peer"
mockpeernet
"gx/ipfs/Qm
bgce14YTWE2qhE49JVvTBPaHTyz3FaFmqQPyuZAz6C28
/go-libp2p/p2p/net/mock"
mockpeernet
"gx/ipfs/Qm
efgzMbKZYsmHFkLqxgaTBG9ypeEjrdWRD5WXH4j1cWDL
/go-libp2p/p2p/net/mock"
)
type
peernet
struct
{
...
...
testutils.go
View file @
fc37b2f6
...
...
@@ -10,10 +10,10 @@ import (
delay
"github.com/ipfs/go-ipfs/thirdparty/delay"
testutil
"gx/ipfs/QmWRCn8vruNAzHx8i6SAXinuheRitKEGu8c7m26stKvsYx/go-testutil"
p2ptestutil
"gx/ipfs/QmQGX417WoxKxDJeHqouMEmmH4G1RCENNSzkZYHrXy3Xb3/go-libp2p-netutil"
ds
"gx/ipfs/QmVSase1JP7cq9QkPT46oNwdp9pT6kBkG3oqS14y3QcZjG/go-datastore"
ds_sync
"gx/ipfs/QmVSase1JP7cq9QkPT46oNwdp9pT6kBkG3oqS14y3QcZjG/go-datastore/sync"
peer
"gx/ipfs/QmXYjuNuxVzXKJCfWasQk1RqkhVLDM9jtUKhqc2WPQmFSB/go-libp2p-peer"
p2ptestutil
"gx/ipfs/QmdzuGp4a9pahgXuBeReHdYGUzdVX3FUCwfmWVo5mQfkTi/go-libp2p-netutil"
)
// WARNING: this uses RandTestBogusIdentity DO NOT USE for NON TESTS!
...
...
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