projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63be17f
)
10477: Fix timezone handling in s3aws tests, to avoid issues when the tests are
author
Ward Vandewege <ward@curii.com>
Mon, 3 Aug 2020 15:14:29 +0000
(11:14 -0400)
committer
Ward Vandewege <ward@curii.com>
Mon, 3 Aug 2020 16:18:39 +0000
(12:18 -0400)
run in non-UTC environments.
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>
services/keepstore/s3aws_volume_test.go
patch
|
blob
|
history
diff --git
a/services/keepstore/s3aws_volume_test.go
b/services/keepstore/s3aws_volume_test.go
index 57d81dbe099c7bed27db844e06b4653a48714db7..97045a660394fe6533fee5d6a444ce07915757ea 100644
(file)
--- a/
services/keepstore/s3aws_volume_test.go
+++ b/
services/keepstore/s3aws_volume_test.go
@@
-41,9
+41,9
@@
type s3AWSFakeClock struct {
func (c *s3AWSFakeClock) Now() time.Time {
if c.now == nil {
- return time.Now()
+ return time.Now()
.UTC()
}
- return
*c.now
+ return
c.now.UTC()
}
func (c *s3AWSFakeClock) Since(t time.Time) time.Duration {