mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 04:30:26 +03:00
Adding comments on why we subtract a second from date1 in an api test
This commit is contained in:
@@ -424,6 +424,8 @@ func (s *MySuite) TestPutObject(c *C) {
|
|||||||
c.Assert(resources.IsTruncated, Equals, false)
|
c.Assert(resources.IsTruncated, Equals, false)
|
||||||
c.Assert(err, Not(IsNil))
|
c.Assert(err, Not(IsNil))
|
||||||
|
|
||||||
|
// breaks on fs driver, so we subtract one second
|
||||||
|
// date1 := time.Now()
|
||||||
date1 := time.Now().Add(-time.Second)
|
date1 := time.Now().Add(-time.Second)
|
||||||
|
|
||||||
// Put Bucket before - Put Object into a bucket
|
// Put Bucket before - Put Object into a bucket
|
||||||
|
|||||||
Reference in New Issue
Block a user