Skip to content

Commit 8d125ed

Browse files
committed
test(graphsync): test server-side graphsync
1 parent 5ea0ba3 commit 8d125ed

File tree

6 files changed

+298
-4
lines changed

6 files changed

+298
-4
lines changed

test/bin/Rules.mk

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ $(d)/go-sleep: github.com/ipfs/go-ipfs/test/dependencies/go-sleep
1818
$(go-build-testdep)
1919
TGTS_$(d) += $(d)/go-sleep
2020

21+
.PHONY: github.com/ipfs/go-ipfs/test/dependencies/graphsync-get
22+
$(d)/graphsync-get: github.com/ipfs/go-ipfs/test/dependencies/graphsync-get
23+
$(go-build-testdep)
24+
TGTS_$(d) += $(d)/graphsync-get
25+
2126
.PHONY: github.com/ipfs/go-ipfs/test/dependencies/go-timeout
2227
$(d)/go-timeout: github.com/ipfs/go-ipfs/test/dependencies/go-timeout
2328
$(go-build-testdep)

test/dependencies/go.mod

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,23 @@ go 1.13
55
require (
66
github.com/Kubuxu/gocovmerge v0.0.0-20161216165753-7ecaa51963cd
77
github.com/golangci/golangci-lint v1.18.0
8+
github.com/ipfs/go-cid v0.0.5
89
github.com/ipfs/go-cidutil v0.0.2
10+
github.com/ipfs/go-datastore v0.4.1
11+
github.com/ipfs/go-graphsync v0.0.4
12+
github.com/ipfs/go-ipfs-blockstore v1.0.0
913
github.com/ipfs/go-log v0.0.1
1014
github.com/ipfs/hang-fds v0.0.1
1115
github.com/ipfs/iptb v1.4.0
1216
github.com/ipfs/iptb-plugins v0.2.0
17+
github.com/ipld/go-ipld-prime v0.0.2-0.20191108012745-28a82f04c785
1318
github.com/jbenet/go-random v0.0.0-20190219211222-123a90aedc0c
1419
github.com/jbenet/go-random-files v0.0.0-20190219210431-31b3f20ebded
20+
github.com/libp2p/go-libp2p v0.3.0
21+
github.com/libp2p/go-libp2p-core v0.2.0
1522
github.com/multiformats/go-multiaddr v0.0.4
1623
github.com/multiformats/go-multiaddr-net v0.0.1
17-
github.com/multiformats/go-multihash v0.0.7
24+
github.com/multiformats/go-multihash v0.0.13
1825
github.com/ultraware/funlen v0.0.2 // indirect
1926
golang.org/x/tools v0.0.0-20190912185636-87d9f09c5d89 // indirect
2027
gotest.tools/gotestsum v0.3.5

0 commit comments

Comments
 (0)