Adding comments on why we subtract a second from date1 in an api test

This commit is contained in:
Frederick F. Kautz IV 2015-04-01 12:29:01 -07:00
parent 646ce59bc5
commit 83f0f0971f

View file

@ -424,6 +424,8 @@ func (s *MySuite) TestPutObject(c *C) {
c.Assert(resources.IsTruncated, Equals, false)
c.Assert(err, Not(IsNil))
// breaks on fs driver, so we subtract one second
// date1 := time.Now()
date1 := time.Now().Add(-time.Second)
// Put Bucket before - Put Object into a bucket