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-unixfs
Commits
a3c28a1a
Commit
a3c28a1a
authored
Feb 27, 2015
by
Henry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't depend on go-logging - use it through util instead.
parent
a6f72a53
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
io/dagmodifier_test.go
io/dagmodifier_test.go
+6
-3
No files found.
io/dagmodifier_test.go
View file @
a3c28a1a
...
...
@@ -17,7 +17,6 @@ import (
u
"github.com/jbenet/go-ipfs/util"
ds
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-datastore"
logging
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-logging"
context
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/golang.org/x/net/context"
)
...
...
@@ -95,8 +94,12 @@ func testModWrite(t *testing.T, beg, size uint64, orig []byte, dm *DagModifier)
func
TestDagModifierBasic
(
t
*
testing
.
T
)
{
t
.
Skip
(
"DAGModifier needs to be fixed to work with indirect blocks."
)
logging
.
SetLevel
(
logging
.
CRITICAL
,
"blockservice"
)
logging
.
SetLevel
(
logging
.
CRITICAL
,
"merkledag"
)
if
err
:=
u
.
SetLogLevel
(
"blockservice"
,
"critical"
);
err
!=
nil
{
t
.
Fatalf
(
"testlog prepare failed: %s"
,
err
)
}
if
err
:=
u
.
SetLogLevel
(
"merkledag"
,
"critical"
);
err
!=
nil
{
t
.
Fatalf
(
"testlog prepare failed: %s"
,
err
)
}
dserv
:=
getMockDagServ
(
t
)
b
,
n
:=
getNode
(
t
,
dserv
,
50000
)
...
...
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