Skip to content
This repository was archived by the owner on Aug 13, 2019. It is now read-only.

Commit

Permalink
add-go-fuse-to-inject-filesystem-error
Browse files Browse the repository at this point in the history
  • Loading branch information
qiffang committed Apr 17, 2019
1 parent 2472c78 commit b882862
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions compact_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import (
"context"
"fmt"
"github.com/hanwen/go-fuse/fuse"
testutil2 "github.com/qiffang/tsdb/testutil"
"io/ioutil"
"math"
"os"
Expand Down Expand Up @@ -1108,7 +1107,7 @@ func TestOpenBlockWithHook(t *testing.T) {
func newFuseServer(t *testing.T, original, mountpoint string)(*fuse.Server){
createDirIfAbsent(original)
createDirIfAbsent(mountpoint)
fs, err := testutil2.NewHookFs(original, mountpoint, &TestRenameHook{})
fs, err := testutil.NewHookFs(original, mountpoint, &TestRenameHook{})
testutil.Ok(t, err)
server, err := fs.NewServe()
if err != nil {
Expand Down

0 comments on commit b882862

Please sign in to comment.