Skip to content

Commit

Permalink
skip fuse test.
Browse files Browse the repository at this point in the history
  • Loading branch information
laipogo committed Oct 9, 2019
1 parent 9ef08f4 commit 5aae0ef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile.testing
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ MAINTAINER TRON-US <[email protected]>
# It is quite large. Its primary use case is to run the unit tests and test/sharness tests.
# Use Dockerfile to run a btfs daemon instead
ENV SRC_DIR /go-btfs
ENV TEST_NO_FUSE 1

# Download packages first so they can be cached.
COPY go.mod go.sum $SRC_DIR/
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.unit_testing
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ MAINTAINER TRON-US <[email protected]>
# Use the regular Dockerfile to run a btfs daemon instead

ENV SRC_DIR /go-btfs
ENV ENV TEST_NO_FUSE 1

#set timeout value for unit tests
ENV GOTFLAGS -timeout 3m
Expand Down
4 changes: 3 additions & 1 deletion fuse/readonly/ipfs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ func getPaths(t *testing.T, ipfs *core.IpfsNode, name string, n *dag.ProtoNode)

// Perform a large number of concurrent reads to stress the system
func TestIpfsStressRead(t *testing.T) {
t.SkipNow()
if testing.Short() {
t.SkipNow()
}
nd, mnt := setupIpfsTest(t, nil)
defer mnt.Close()

Expand Down

0 comments on commit 5aae0ef

Please sign in to comment.