mirror of
https://github.com/pgsty/minio.git
synced 2026-08-09 07:43:29 +03:00
Take all the ListObjects into bucket handlers
Earlier the listing would wait for all the objects to be processed this is essentially very time consuming considering even for 100,000 files.
This commit is contained in:
@@ -306,7 +306,7 @@ func (s *MySuite) TestMultipleNewObjects(c *C) {
|
||||
/// test list of objects
|
||||
|
||||
// test list objects with prefix and delimiter
|
||||
listObjects, prefixes, isTruncated, err := donut.ListObjects("foo", "o", "", "1", 1)
|
||||
listObjects, prefixes, isTruncated, err := donut.ListObjects("foo", "o", "", "1", 10)
|
||||
c.Assert(err, IsNil)
|
||||
c.Assert(isTruncated, Equals, false)
|
||||
c.Assert(prefixes[0], Equals, "obj1")
|
||||
|
||||
Reference in New Issue
Block a user