From 83f0f0971f4e6d1a6d0fbc0b2427ddd2de6c61f2 Mon Sep 17 00:00:00 2001 From: "Frederick F. Kautz IV" Date: Wed, 1 Apr 2015 12:29:01 -0700 Subject: [PATCH] Adding comments on why we subtract a second from date1 in an api test --- pkg/api/api_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/api/api_test.go b/pkg/api/api_test.go index b841d5ad2..7e790c9d8 100644 --- a/pkg/api/api_test.go +++ b/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