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

Commit b882862

Browse files
committed
add-go-fuse-to-inject-filesystem-error
1 parent 2472c78 commit b882862

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compact_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import (
1717
"context"
1818
"fmt"
1919
"github.com/hanwen/go-fuse/fuse"
20-
testutil2 "github.com/qiffang/tsdb/testutil"
2120
"io/ioutil"
2221
"math"
2322
"os"
@@ -1108,7 +1107,7 @@ func TestOpenBlockWithHook(t *testing.T) {
11081107
func newFuseServer(t *testing.T, original, mountpoint string)(*fuse.Server){
11091108
createDirIfAbsent(original)
11101109
createDirIfAbsent(mountpoint)
1111-
fs, err := testutil2.NewHookFs(original, mountpoint, &TestRenameHook{})
1110+
fs, err := testutil.NewHookFs(original, mountpoint, &TestRenameHook{})
11121111
testutil.Ok(t, err)
11131112
server, err := fs.NewServe()
11141113
if err != nil {

0 commit comments

Comments
 (0)