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

master
Frederick F. Kautz IV 10 years ago
parent 646ce59bc5
commit 83f0f0971f
  1. 2
      pkg/api/api_test.go

@ -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

Loading…
Cancel
Save