|
|
@ -29,6 +29,7 @@ import ( |
|
|
|
"time" |
|
|
|
"time" |
|
|
|
|
|
|
|
|
|
|
|
. "github.com/minio-io/check" |
|
|
|
. "github.com/minio-io/check" |
|
|
|
|
|
|
|
"log" |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
func Test(t *testing.T) { TestingT(t) } |
|
|
|
func Test(t *testing.T) { TestingT(t) } |
|
|
@ -172,6 +173,7 @@ func (s *MySuite) TestNewObjectMetadata(c *C) { |
|
|
|
c.Assert(err, IsNil) |
|
|
|
c.Assert(err, IsNil) |
|
|
|
defer os.RemoveAll(root) |
|
|
|
defer os.RemoveAll(root) |
|
|
|
donut, err := NewDonut("test", createTestNodeDiskMap(root)) |
|
|
|
donut, err := NewDonut("test", createTestNodeDiskMap(root)) |
|
|
|
|
|
|
|
log.Println(err) |
|
|
|
c.Assert(err, IsNil) |
|
|
|
c.Assert(err, IsNil) |
|
|
|
|
|
|
|
|
|
|
|
metadata := make(map[string]string) |
|
|
|
metadata := make(map[string]string) |
|
|
|