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
e60e1708
Commit
e60e1708
authored
Apr 03, 2018
by
Hector Sanjuan
Committed by
Hector Sanjuan
Apr 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Extract: blocks/blocksutil to go-ipfs-blocksutil
License: MIT Signed-off-by:
Hector Sanjuan
<
hector@protocol.ai
>
parent
fdb4f15e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
bitswap_test.go
bitswap_test.go
+1
-1
notifications/notifications_test.go
notifications/notifications_test.go
+1
-1
session_test.go
session_test.go
+1
-2
No files found.
bitswap_test.go
View file @
e60e1708
...
...
@@ -8,7 +8,6 @@ import (
"testing"
"time"
blocksutil
"github.com/ipfs/go-ipfs/blocks/blocksutil"
decision
"github.com/ipfs/go-ipfs/exchange/bitswap/decision"
tn
"github.com/ipfs/go-ipfs/exchange/bitswap/testnet"
...
...
@@ -21,6 +20,7 @@ import (
cid
"gx/ipfs/QmcZfnkapfECQGcLZaf9B79NRg7cRa9EnZh4LSbkCzwNvY/go-cid"
blocks
"gx/ipfs/Qmej7nf81hi2x2tvjRBF3mcp74sQyuDH4VMYDGd1YtXjb2/go-block-format"
detectrace
"gx/ipfs/Qmf7HqcW7LtCi1W8y2bdx2eJpze74jkbKqpByxgXikdbLF/go-detect-race"
blocksutil
"gx/ipfs/Qmf951DP11mCoctpyF3ZppPZdo2oAxuNi2vnkVDgHJ8Fqk/go-ipfs-blocksutil"
)
// FIXME the tests are really sensitive to the network delay. fix them to work
...
...
notifications/notifications_test.go
View file @
e60e1708
...
...
@@ -6,9 +6,9 @@ import (
"testing"
"time"
blocksutil
"github.com/ipfs/go-ipfs/blocks/blocksutil"
cid
"gx/ipfs/QmcZfnkapfECQGcLZaf9B79NRg7cRa9EnZh4LSbkCzwNvY/go-cid"
blocks
"gx/ipfs/Qmej7nf81hi2x2tvjRBF3mcp74sQyuDH4VMYDGd1YtXjb2/go-block-format"
blocksutil
"gx/ipfs/Qmf951DP11mCoctpyF3ZppPZdo2oAxuNi2vnkVDgHJ8Fqk/go-ipfs-blocksutil"
)
func
TestDuplicates
(
t
*
testing
.
T
)
{
...
...
session_test.go
View file @
e60e1708
...
...
@@ -6,11 +6,10 @@ import (
"testing"
"time"
blocksutil
"github.com/ipfs/go-ipfs/blocks/blocksutil"
tu
"gx/ipfs/QmVvkK7s5imCiq3JVbL3pGfnhcCnf3LrFJPF4GE2sAoGZf/go-testutil"
cid
"gx/ipfs/QmcZfnkapfECQGcLZaf9B79NRg7cRa9EnZh4LSbkCzwNvY/go-cid"
blocks
"gx/ipfs/Qmej7nf81hi2x2tvjRBF3mcp74sQyuDH4VMYDGd1YtXjb2/go-block-format"
blocksutil
"gx/ipfs/Qmf951DP11mCoctpyF3ZppPZdo2oAxuNi2vnkVDgHJ8Fqk/go-ipfs-blocksutil"
)
func
TestBasicSessions
(
t
*
testing
.
T
)
{
...
...
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